3 ms·
> functions are bound with the same syntax as constants Apparently, the author hasn't come around to understanding that functions are just another constant.
by pyrale 2y ago
> functions are bound with the same syntax as constants
Apparently, the author hasn't come around to understanding that functions are just another constant.
- bvrmn 2y agoTBF he has such notion: > because a 0 arity function without side-effect is just constant.
- pyrale 2y agon-arity functions are also constants. 0 is not a special case there. Their behaviour won't change depending on the context from which you call them. A large part of FP is that functions _are_ values.