PNum operators have no fixity, and hence expressions such as
2 #+ 3 #* 4
are legal, while counter-intuitive as their Haskell-level equivalent Num operator do have fixity. The current PR proposes to fix that issue by adding explicit infix _ 6 to each of the operators. That way GHC can catch some precedence bugs, as above.
PNum
operators have no fixity, and hence expressions such asare legal, while counter-intuitive as their Haskell-level equivalent
Num
operator do have fixity. The current PR proposes to fix that issue by adding explicitinfix _ 6
to each of the operators. That way GHC can catch some precedence bugs, as above.