mirror of
https://github.com/github/semantic.git
synced 2024-11-25 11:04:00 +03:00
Replace CofreeConvertible with CofreeType.
This commit is contained in:
parent
f8cd049280
commit
522757c121
@ -114,12 +114,12 @@ extension Cofree where B: Categorizable {
|
||||
|
||||
// MARK: - CofreeConvertible
|
||||
|
||||
public protocol CofreeConvertible {
|
||||
typealias Leaf
|
||||
public protocol CofreeType {
|
||||
typealias Annotation
|
||||
typealias Leaf
|
||||
|
||||
init(cofree: Cofree<Leaf, Annotation>)
|
||||
var cofree: Cofree<Leaf, Annotation> { get }
|
||||
var extract: Annotation { get }
|
||||
var unwrap: Syntax<Self, Leaf> { get }
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user