1
1
mirror of https://github.com/github/semantic.git synced 2024-11-29 11:02:26 +03:00

Replace CofreeConvertible with CofreeType.

This commit is contained in:
Rob Rix 2015-10-15 15:42:24 -04:00
parent f8cd049280
commit 522757c121

View File

@ -114,12 +114,12 @@ extension Cofree where B: Categorizable {
// MARK: - CofreeConvertible // MARK: - CofreeConvertible
public protocol CofreeConvertible { public protocol CofreeType {
typealias Leaf
typealias Annotation typealias Annotation
typealias Leaf
init(cofree: Cofree<Leaf, Annotation>) var extract: Annotation { get }
var cofree: Cofree<Leaf, Annotation> { get } var unwrap: Syntax<Self, Leaf> { get }
} }