Skip to content

Commit

Permalink
Correct fixity for operators
Browse files Browse the repository at this point in the history
  • Loading branch information
ocharles committed Mar 17, 2017
1 parent 9d37558 commit 2d7c907
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Rel8.hs
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,11 @@ import Rel8.Internal
import Streaming (Of, Stream)

infix 4 ==? , <? , <=? , >? , >=?
infixr 2 ||?, &&?
infixr 2 ||?
infixr 3 &&?
infixl 7 *?
infixl 6 +?, -?
infixr 7 /?

--------------------------------------------------------------------------------
(==?)
Expand Down
3 changes: 2 additions & 1 deletion Rel8/Internal/Operators.hs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ import Rel8.Internal.Expr

--------------------------------------------------------------------------------
infix 4 ==., <. , <=. , >. , >=.
infixr 2 ||., &&.
infixr 2 ||.
infixr 3 &&.

--------------------------------------------------------------------------------
-- | Corresponds to @NOT@.
Expand Down

0 comments on commit 2d7c907

Please sign in to comment.