So, how about "[x,y) x+y" syntax for lambdas? With Typescript syntax: map(xs,[x:int)x+1) With C syntax: map(xs,[int x)x+1) Pleasantly concise versus (x,y)=>x+1, or too strange?
-
-
I remember the silly Ruby tutorial I first saw this in said they were a chute for sliding the values into the lambda (called a block in ruby, iirc)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.