2 ms·
I used a closure for a callback less than 1% of the time. Closures are .. closed pieces of information to be combined (through apply). See untyped monadic style
by agumonkey 10y ago
I used a closure for a callback less than 1% of the time. Closures are .. closed pieces of information to be combined (through apply). See untyped monadic style, or lc-encoding of lists, functional composition (f . g => a new function, not a value).
I closely related closures to partial application. But mostly.. closures are anonymous objects tiles, you can create one on the fly as needed without cruft.