From 23c270db1c4ae2438be2ea91d62f01b6aea44f93 Mon Sep 17 00:00:00 2001 From: Kare Morstol Date: Sat, 23 May 2015 21:33:32 +0200 Subject: [PATCH] Make >>- operator precedence compatible with other frameworks. This also makes it more similar to Haskell, see https://github.com/thoughtbot/Runes/pull/30. These frameworks have made this change: - https://github.com/thoughtbot/Runes/commit/d3a7d6352339a45ce307f4c579bf4e0048df334b - https://github.com/robrix/Either/pull/28 - https://github.com/robrix/Madness/pull/86 --- Result/Result.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Result/Result.swift b/Result/Result.swift index c90c875..fd6df51 100644 --- a/Result/Result.swift +++ b/Result/Result.swift @@ -191,7 +191,7 @@ infix operator >>- { associativity left // Higher precedence than function application, but lower than function composition. - precedence 150 + precedence 100 } infix operator &&& {