Re: Encapsulating the contents of container types

2011-09-09 Thread Carl Mäsak
Thanks to everyone for your replies. I've been wanting to write a summary + further thoughts for a while, but have been a bit time-constrained. The central tension in this issue is nicely captured by what Damian wrote contrasted with what Stefan wrote: Damian (): Doing nothing should result in

Re: Encapsulating the contents of container types

2011-09-09 Thread Moritz Lenz
Am 09.09.2011 12:44, schrieb Carl Mäsak: Non-rw attributes, non-rw parameters, and non-rw return values all share the same mechanism. Fine. Makes sense. [...] Non-rw-ness in this case should be all the way, not one level down. (I hope I didn't change the meaning by stripping parts of your

Re: Encapsulating the contents of container types

2011-09-09 Thread Carl Mäsak
Moritz (): I think we should consider the implications of immutability-all-the-way-down before we jump to any conclusions. In particular list cases where typical Perl 5 code fails when ported to Perl 6. Indeed. Clearly I'm missing at least one piece of the puzzle here. Back to the