mirror of
https://github.com/github/semantic.git
synced 2024-11-25 11:04:00 +03:00
Equality over Cofrees of equatable types.
This commit is contained in:
parent
889dab1df2
commit
3dcfbc0d38
@ -74,5 +74,9 @@ extension Cofree {
|
||||
}
|
||||
}
|
||||
|
||||
public func == <A: Equatable, B: Equatable> (left: Cofree<A, B>, right: Cofree<A, B>) -> Bool {
|
||||
return Cofree.equals(annotation: ==, leaf: ==)(left, right)
|
||||
}
|
||||
|
||||
|
||||
import Prelude
|
||||
|
Loading…
Reference in New Issue
Block a user