Re:One of the most interesting new languages I've seen...and...
by cchooper on Sunday December 28, 2008 @09:15AM
(#411924)
For those who couldn't see the page:
The most interesting feature of this language is that all functions commute over lists. For example:
[2,3,5,7,9,11].at(3)
returns 7, but if you pass a list to 'at' instead:
[2,3,5,7,9,11].at([1,3,4])
you get [3,7,9]. This means you don't need functions like 'map' to apply a function to a list. You just call the function on the list and it automatically commutes. It works for trees too:
The most interesting feature of this language is that all functions commute over lists. For example:
returns 7, but if you pass a list to 'at' instead: you get [3,7,9]. This means you don't need functions like 'map' to apply a function to a list. You just call the function on the list and it automatically commutes. It works for trees too: returns [3,[5,7],9].I reported the issue to the internal Y! service team so hopefully if it isn't a bandwidth quota thing the site should be back up shortly.
Frustratingly it's not in either the Goog or Y! caches or on Internet Archive. :(
Not that interesting.