diff --git a/prototype/Doubt/Cofree.swift b/prototype/Doubt/Cofree.swift index 862e401cf..aceee7853 100644 --- a/prototype/Doubt/Cofree.swift +++ b/prototype/Doubt/Cofree.swift @@ -112,4 +112,15 @@ extension Cofree where B: Categorizable { } +// MARK: - CofreeConvertible + +public protocol CofreeConvertible { + typealias Leaf + typealias Annotation + + init(cofree: Cofree) + var cofree: Cofree { get } +} + + import Prelude