Persistent list

Andrei Alexandrescu via Digitalmars-d digitalmars-d at
Sun Nov 15 13:00:40 PST 2015

On 11/15/2015 03:11 PM, Dicebot wrote:
> On Sunday, 15 November 2015 at 19:51:09 UTC, Andrei Alexandrescu wrote:
>> Just to clarify - is that referring to the part "We need to change
>> that if we want things like composable containers that work with
>> const." or to the "I think it's a good thing to want" part? -- Andrei
> Second part. I don't see a case for const containers at all. Fully
> immutable functional style ones - sure, I have actually experimented
> implementing cache this way in
> (thing that powers But what would you use const
> containers for?

Passing arguments to functions that aren't supposed to change the 
containers. -- Andrei

More information about the Digitalmars-d mailing list