diff --git a/prototype/Doubt/Cofree.swift b/prototype/Doubt/Cofree.swift index 670f2eefe..7aa71d94b 100644 --- a/prototype/Doubt/Cofree.swift +++ b/prototype/Doubt/Cofree.swift @@ -37,7 +37,7 @@ extension Cofree { } } - public func extend(transform: Cofree -> Other) -> Cofree { + public func extend(@noescape transform: Cofree -> Other) -> Cofree { return .Unroll(transform(self), unwrap.map { $0.extend(transform) }) }