> Would it make sense to "sugarify" currying even further? For instance, `f[x][y][z]` could become something like `fâ[x y z]`.
Technically it could be done. Does it make sense? Depends on what are you trying to achieve. Personally I tend toward an _extremely_ minimalist approach and the complexity of that would not be worth it for me. In fact today I'd question the addition of `|` and `!` as too specific.
The syntax you proposed does save a few brackets, but the functionality could also be achieved with a specialized function:
â[f x y z]
So I'd stick to that unless I found a more compelling reason to include the sugar.
:-)
> Would it make sense to "sugarify" currying even further? For instance, `f[x][y][z]` could become something like `fâ[x y z]`.
Technically it could be done. Does it make sense? Depends on what are you trying to achieve. Personally I tend toward an _extremely_ minimalist approach and the complexity of that would not be worth it for me. In fact today I'd question the addition of `|` and `!` as too specific.
The syntax you proposed does save a few brackets, but the functionality could also be achieved with a specialized function:
So I'd stick to that unless I found a more compelling reason to include the sugar.