Remix.run Logo
pyrale 7 hours 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 5 hours ago | parent [-]

TBF he has such notion:

> because a 0 arity function without side-effect is just constant.

pyrale 20 minutes 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.