diff --git a/prototype/Doubt/Algorithm.swift b/prototype/Doubt/Algorithm.swift index a3009cbce..64634e85e 100644 --- a/prototype/Doubt/Algorithm.swift +++ b/prototype/Doubt/Algorithm.swift @@ -33,13 +33,6 @@ public enum Algorithm { public func map(transform: Result -> Other) -> Algorithm { return analysis(ifPure: transform >>> Algorithm.Pure, ifRoll: { .Roll($0.map { $0.map(transform) }) }) } - - - // MARK: Monad - - public func flatMap(transform: Result -> Algorithm) -> Algorithm { - return analysis(ifPure: transform, ifRoll: { .Roll($0.map { $0.flatMap(transform) }) }) - } }