Open Gurkenglas opened 8 years ago
Also asd >>= evalStateT § do dsa; sda
, or >=>
in >>=
's place.
Perhaps also foo .= § f . g $ a
instead of foo .= (f . g $ a)
(although of course in this particular example foo .= f (g a)
is probably better?)
If we could have an operator
(§) = ($)
with highest precedence to the left and lowest precedence to the right, as if we ran a preprocessor parsing pass over the .hs and replaced every § with brackets over all of its right side, we would have a general solution to https://github.com/aelve/haskell-issues/issues/24 , where . is replaced by any other operator, because we could write:Note an objection: [ Just use parentheses.