
Aug. 8, 2009
1:19 p.m.
08-08-2009 Greg Ewing <greg.ewing@canterbury.ac.nz> wrote:
My suggestion for a lightweight lambda syntax is
args -> expr
Examples:
map(x -> x + 5, something)
d = defauldict(->[])
-1 The idea would be nice, but "->" has already another meaning (in a different context -- function annotations -- but it's not a good idea to use the same "operator" for two completely different things, both connected with functions). *j