7 ms·
If functions are first class, then they must be stored as variables. I mean, consider any FP Language.
by hyperbrainer 1y ago
If functions are first class, then they must be stored as variables. I mean, consider any FP Language.
- msie 1y agoThey can still be first class without declaring them in this manner.
- TurboHaskal 1y agoSure. But if they are first class and you have a mechanism to assign them to variables then there is no need for syntax sugar.