Re:A lambda is not necessarily a closure
by Manishearth on Tuesday February 09, 2016 @06:35AM
(#11064625)
> Also, functions could coerce to either of the closure types
Huh, I recall this not working. Perhaps I made a mistake then.
> closures were pointers into the stack
Ah, the type erasure was through &mut. TIL; I always thought it was Box only.
Also, functions could coerce to either of the closure types, and hence be passed straight to functions expecting them.