3 ms·
This is an exciting design exploring a different combination of language features. From the Design Considerations page: > For this reason we purposefully leave
by karmakaze 5y ago
This is an exciting design exploring a different combination of language features. From the Design Considerations page:
> For this reason we purposefully leave out one otherwise very prominent feature: there are no first-class functions!
> Instead, we treat all functions as second-class (Osvald et al.). While functions which (following Ruby jargon) we call blocks can take other blocks as arguments, they always have to be fully applied.
I'm still trying to figure out the implications and limitations of this choice. There's no composition by returning a function but can still compose effects.