-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9e6e458
commit 6656b06
Showing
3 changed files
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
module Stdlib.Data.Fixity; | ||
|
||
syntax fixity rapp {arity: binary, assoc: right}; | ||
syntax fixity lapp {arity: binary, assoc: left, same: rapp}; | ||
syntax fixity seq {arity: binary, assoc: left, above: [lapp]}; | ||
syntax fixity rapp := binary {assoc := right}; | ||
syntax fixity lapp := binary {assoc := left; same := rapp}; | ||
syntax fixity seq := binary {assoc := left; above := [lapp]}; | ||
|
||
syntax fixity functor {arity: binary, assoc: right}; | ||
syntax fixity functor := binary {assoc := right}; | ||
|
||
syntax fixity logical {arity: binary, assoc: right, above: [seq]}; | ||
syntax fixity comparison {arity: binary, assoc: none, above: [logical]}; | ||
syntax fixity logical := binary {assoc := right; above := [seq]}; | ||
syntax fixity comparison := binary {assoc := none; above := [logical]}; | ||
|
||
syntax fixity pair {arity: binary, assoc: right}; | ||
syntax fixity cons {arity: binary, assoc: right, above: [pair]}; | ||
syntax fixity pair := binary {assoc := right}; | ||
syntax fixity cons := binary {assoc := right; above := [pair]}; | ||
|
||
syntax fixity step {arity: binary, assoc: right}; | ||
syntax fixity range {arity: binary, assoc: right, above: [step]}; | ||
syntax fixity step := binary {assoc := right}; | ||
syntax fixity range := binary {assoc := right; above := [step]}; | ||
|
||
syntax fixity additive {arity: binary, assoc: left, above: [comparison, range, cons]}; | ||
syntax fixity multiplicative {arity: binary, assoc: left, above: [additive]}; | ||
syntax fixity additive := binary {assoc := left; above := [comparison; range; cons]}; | ||
syntax fixity multiplicative := binary {assoc := left; above := [additive]}; | ||
|
||
syntax fixity composition {arity: binary, assoc: right, above: [multiplicative]}; | ||
syntax fixity composition := binary {assoc := right; above := [multiplicative]}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters