3 ms·
I fail to see how this makes them non-proper functions, a better way to put it is they are a subset of possible functions.
by rat87 14y ago
I fail to see how this makes them non-proper functions, a better way to put it is they are a subset of possible functions.
- beambot 14y agoYes, single-expression functions are a subset of all possible functions... but that's not exactly what I was getting at. I put "proper" in quotes just to signify that they have subtle differences that, from a purely type-based abstraction, are different from named functions. For example, you can't serialize (pickle) a lambda function.