2 ms·
This is a nice post that mirrors a lot of the thoughts I had when learning Haskell. I especially agree about his point on position dependant partial functions -
by michael_fine 11y ago
This is a nice post that mirrors a lot of the thoughts I had when learning Haskell. I especially agree about his point on position dependant partial functions -- I think the idea of a placeholder symbol (maybe _) that you can put in place of an argument to make it partial would make it a lot cleaner.
One quibble though -- he complains about the ugliness of infix functions, but misses that you can define your own infix operators, with their own precedence rules! Just put parentheses around the symbol(s) when defining the function, and it becomes infix by default.