5 ms·
I think the default should be named prefix operators. Then you can have infix operators that are aliases. This is a problem in Haskell with infix operators bei
by flubflub 5y ago
I think the default should be named prefix operators. Then you can have infix operators that are aliases.
This is a problem in Haskell with infix operators being directly defined I would argue.
I disagree that infix and prefix should not be mixed. Although there is a special hell for people who use + with non-commutative operators.
- zestyping 5y agoInfix operators are fine. But _methods_ that masquerade as infix operators shouldn't mix with methods that work like prefix operators.