From 2c56ee66eac76b2b6be312a3787e901fb5cd72e3 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Wed, 14 Oct 2015 10:20:05 -0400 Subject: [PATCH] =?UTF-8?q?`extend`=E2=80=99s=20transformation=20function?= =?UTF-8?q?=20is=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 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) }) }