diff --git a/prototype/Doubt/Cofree.swift b/prototype/Doubt/Cofree.swift index f2a286112..c0b9439f4 100644 --- a/prototype/Doubt/Cofree.swift +++ b/prototype/Doubt/Cofree.swift @@ -37,6 +37,7 @@ extension Cofree { } } + /// Returns a new `Cofree` by recursively applying `transform` to each node, producing the annotations for the copy. public func extend(@noescape transform: Cofree -> Other) -> Cofree { return .Unroll(transform(self), unwrap.map { $0.extend(transform) }) }