diff --git a/prototype/Doubt/Cofree.swift b/prototype/Doubt/Cofree.swift index 0704a779e..52b34c0a0 100644 --- a/prototype/Doubt/Cofree.swift +++ b/prototype/Doubt/Cofree.swift @@ -87,5 +87,11 @@ extension Cofree { } } +extension Cofree where A: Hashable, B: Hashable { + public var hash: Hash { + return hash(annotation: Hash.init, leaf: Hash.init) + } +} + import Prelude