How to construct a list in Perl, Ruby, Smalltalk, etc ...

Ovid on 2009-02-20T16:54:13

Just read a nice blog post about constructing a list from another list. It demonstrates how to do this in several languages. Naturally, the punchline is Java :)


Perl 6

Smylers on 2009-02-20T22:06:13

Out of interest, what's this in Perl 6? I'm guessing it's @list».id.

Re:Perl 6

Aristotle on 2009-02-22T22:50:32

Yup.