by e_coli · 4y ago · 0 comments
(1 to: 20) collect: [ :each | Array with: each with: 'hey' ]
And Smalltalk got it from Lisp.
Just saying for comparison.
Edit: forgot to mention - the syntax is entirely consistent and unlike Linq does not seem bolted on to the rest of the language.
No comments yet.