diff options
Diffstat (limited to 'stdlib/source/lux/abstract/equivalence.lux')
-rw-r--r-- | stdlib/source/lux/abstract/equivalence.lux | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/stdlib/source/lux/abstract/equivalence.lux b/stdlib/source/lux/abstract/equivalence.lux index a467f0b50..3948d12bd 100644 --- a/stdlib/source/lux/abstract/equivalence.lux +++ b/stdlib/source/lux/abstract/equivalence.lux @@ -9,27 +9,6 @@ (: (-> a a Bit) =)) -(def: #export (sum left right) - (All [l r] (-> (Equivalence l) (Equivalence r) (Equivalence (| l r)))) - (structure - (def: (= reference sample) - (case [reference sample] - [(#.Left reference) (#.Left sample)] - (\ left = reference sample) - - [(#.Right reference) (#.Right sample)] - (\ right = reference sample) - - _ - false)))) - -(def: #export (product left right) - (All [l r] (-> (Equivalence l) (Equivalence r) (Equivalence [l r]))) - (structure - (def: (= [a b] [x y]) - (and (\ left = a x) - (\ right = b y))))) - (def: #export (rec sub) (All [a] (-> (-> (Equivalence a) (Equivalence a)) (Equivalence a))) (structure |