From 8b5a269d5e324225c68373aaaefe46c36160d138 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Thu, 15 Oct 2015 09:43:23 -0400 Subject: [PATCH] Remove Cofree hashing. --- prototype/Doubt/Cofree.swift | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/prototype/Doubt/Cofree.swift b/prototype/Doubt/Cofree.swift index cef83c83f..7785bb2b5 100644 --- a/prototype/Doubt/Cofree.swift +++ b/prototype/Doubt/Cofree.swift @@ -76,21 +76,6 @@ public func == (left: Cofree, right: Cofree Hash, leaf: A -> Hash) -> Hash { - return .Ordered([ annotation(extract), unwrap.hash(ifLeaf: leaf, ifRecur: { $0.hash(annotation: annotation, leaf: leaf) }) ]) - } -} - -extension Cofree where A: Hashable, B: Hashable { - public var hash: Hash { - return hash(annotation: Hash.init, leaf: Hash.init) - } -} - - // MARK: - JSON extension Cofree {