From a580ff2d6890484ab57954d2805882577273a30a Mon Sep 17 00:00:00 2001 From: Le Van Nghia Date: Thu, 11 Jun 2015 02:28:46 +0900 Subject: [PATCH] flatMap operator --- Future/Future.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Future/Future.swift b/Future/Future.swift index 173aefc..312a05d 100644 --- a/Future/Future.swift +++ b/Future/Future.swift @@ -227,6 +227,7 @@ infix operator <^> { } /* +// Avoid conflict with the operator of Result infix operator >>- { // Left associativity associativity left @@ -244,4 +245,4 @@ public func <^> (future: Future, transform: T -> U) -> F // Operator for `flatMap` public func >>- (future: Future, transform: T -> Future) -> Future { return future.flatMap(transform) -} \ No newline at end of file +}