std.experimental.collection.functional.slist

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 19 08:55:47 PDT 2015


On 6/19/15 8:27 AM, Andrei Alexandrescu wrote:
> On 6/19/15 8:01 AM, "Ulrich =?UTF-8?B?S8O8dHRsZXIi?=
> <kuettler at gmail.com>" wrote:
>> If opAssign is allowed, a major point of functional data structures is
>> lost. Client code is so much better if rebinding is off the table.
>
> I have the same instinct but not enough rationale. What would be an
> example in favor of the argument?

FWIW Scala's immutable containers are all assignable. -- Andrei




More information about the Digitalmars-d mailing list