Open lue-bird opened 3 years ago
The following four infix operators seem fishy:
notEqual = BinOp "1/" infixLeft 4 equals = BinOp "==" infixLeft 4
↑ These are
infixLeft
1/
/=
remOp = BinOp "rem" infixLeft 7
modulo = BinOp "%" infixLeft 7
↑ These don't exist. While we're at it: There's a small mistake in the `binOp` doc: ```diff {-| Creates a binary operator in its prefix form, as a bracketed expression. binOp equals Yields: - (=) + (==) -} binOp : BinOp -> Expression
The following four infix operators seem fishy:
↑ These are
infixLeft
, but non-associative operators and1/
should be/=
modulo = BinOp "%" infixLeft 7