Re:A lambda is not necessarily a closure
by nailer on Tuesday February 09, 2016 @10:18AM
(#11065801)
Couldn't the type of a passed around function simply be 'function'? Why does it have to be inaccurate?
[ Parent
| on HN ]
Re:A lambda is not necessarily a closure
by Ono-Sendai on Tuesday February 09, 2016 @12:17PM
(#11066879)
Well a function may in general have closed over arguments. Therefore it needs to be a closure. (If you have lexical scoping that is)