From 011719b75264f0f6a46c6ee3925cdaa34c321fde Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Wed, 14 Oct 2015 10:20:21 -0400 Subject: [PATCH] =?UTF-8?q?`map`=E2=80=99s=20transformation=20function=20i?= =?UTF-8?q?s=20`@noescape`.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prototype/Doubt/Cofree.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prototype/Doubt/Cofree.swift b/prototype/Doubt/Cofree.swift index 7aa71d94b..f2a286112 100644 --- a/prototype/Doubt/Cofree.swift +++ b/prototype/Doubt/Cofree.swift @@ -20,7 +20,7 @@ public enum Cofree { // MARK: - Functor extension Cofree { - public func map(transform: B -> Other) -> Cofree { + public func map(@noescape transform: B -> Other) -> Cofree { return .Unroll(transform(extract), unwrap.map { $0.map(transform) }) } }