3 ms·
print foo.makeHello capitalize name The right associativity of function application is a very peculiar feature and it turns my Haskell brain upside down.
by exDM69 15y ago
print foo.makeHello capitalize name
The right associativity of function application is a very peculiar feature and it turns my Haskell brain upside down.
- masklinn 15y agoIt also makes my non-haskell brain as well, for what it's worth. edit: wait, its functions are not curried, so I'm not sure it's right-associative, it just looks that way if you've read haskell code in the past: positional arguments are still tuples (comma-separated) If this code was haskell and you translated it to Move it would look like this: `print foo.makeHello, capitalize, name`