... That's correct, but I honestly don't understand the point. If you want lists, you just use the built-in lists. ...The polymorphism would be useful. Sometime you don't care about the implementation - you just need an object which has some of the properties of an array (like the ability to perform map and grep on it.) In that case you can return a real array or a chain of CONS cells whichever is most convenient.
In reply to Re^4: Does perl6 have a native linked-list data type?
by perl5ever
in thread Does perl6 have a native linked-list data type?
by perl5ever
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |