Arc Forumnew | comments | leaders | submitlogin
1 point by larme 6119 days ago | link | parent

But f:g is just syntax sugar for (compose f g), and the following code works: ((compose double [+ _ 100]) 4)

Hence i guess after some modification the ":" can support anonymous functions.



4 points by fail 6119 days ago | link

: only works inside symbol names. ~ only works inside symbol names.

-----

3 points by ryantmulligan 6118 days ago | link

Great documentation. For consistency though, I don't see why these things shouldn't work with anonymous functions.

-----