diff --git a/prototype/Doubt/Cofree.swift b/prototype/Doubt/Cofree.swift index 864ac8bd5..1899932a2 100644 --- a/prototype/Doubt/Cofree.swift +++ b/prototype/Doubt/Cofree.swift @@ -1,7 +1,7 @@ // Copyright © 2015 GitHub. All rights reserved. -public enum Cofree { - case Unroll(B) +public enum Cofree { + case Unroll(B, Syntax) } @@ -10,7 +10,7 @@ public enum Cofree { extension Cofree { var extract: B { switch self { - case let .Unroll(b): + case let .Unroll(b, _): return b } }