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:
8 comments
[ 4.3 ms ] story [ 34.0 ms ] threadI 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.
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].