Skip to content

Commit

Permalink
move add/mult precedence to 6 and 7 (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrandonw authored Jun 19, 2017
1 parent d299ff8 commit 5f0b128
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Sources/Prelude/PrecedenceGroups.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
precedencegroup infixr0 {
associativity: right
higherThan: AdditionPrecedence
}
precedencegroup infixr1 {
associativity: right
Expand All @@ -21,15 +20,16 @@ precedencegroup infixr4 {
precedencegroup infixr5 {
associativity: right
higherThan: infixr4
lowerThan: MultiplicationPrecedence
lowerThan: AdditionPrecedence
}
precedencegroup infixr6 {
associativity: right
higherThan: MultiplicationPrecedence
higherThan: AdditionPrecedence
lowerThan: MultiplicationPrecedence
}
precedencegroup infixr7 {
associativity: right
higherThan: infixr6
higherThan: MultiplicationPrecedence
}
precedencegroup infixr8 {
associativity: right
Expand Down

0 comments on commit 5f0b128

Please sign in to comment.