▲ | bvrmn 7 months ago | |
TBF he has such notion: > because a 0 arity function without side-effect is just constant. | ||
▲ | pyrale 7 months ago | parent [-] | |
n-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. |