Skip to content

Commit

Permalink
Make >>- operator precedence compatible with other frameworks.
Browse files Browse the repository at this point in the history
This also makes it more similar to Haskell, see thoughtbot/Runes#30.
These frameworks have made this change:

- thoughtbot/Runes@d3a7d63
- robrix/Either#28
- robrix/Madness#86
  • Loading branch information
kareman committed May 23, 2015
1 parent 7fec10d commit 23c270d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Result/Result.swift
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ infix operator >>- {
associativity left

// Higher precedence than function application, but lower than function composition.
precedence 150
precedence 100
}

infix operator &&& {
Expand Down

0 comments on commit 23c270d

Please sign in to comment.