diff --git a/prototype/Doubt/Operators.swift b/prototype/Doubt/Operators.swift index ccc3eff9b..366f2c511 100644 --- a/prototype/Doubt/Operators.swift +++ b/prototype/Doubt/Operators.swift @@ -48,6 +48,11 @@ infix operator { precedence 140 } +infix operator >>> { + associativity right + precedence 170 +} + prefix operator ^ {} postfix operator * {} diff --git a/prototype/Doubt/Prelude.swift b/prototype/Doubt/Prelude.swift index 6c030c631..c5abb21c2 100644 --- a/prototype/Doubt/Prelude.swift +++ b/prototype/Doubt/Prelude.swift @@ -8,11 +8,6 @@ func const(a: A)(_ b: B) -> A { } -infix operator >>> { - associativity right - precedence 170 -} - func >>> (f: T -> U, g: U -> V) -> T -> V { return { g(f($0)) } }