aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/abstract/hash.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/test/lux/abstract/hash.lux')
-rw-r--r--stdlib/source/test/lux/abstract/hash.lux18
1 files changed, 9 insertions, 9 deletions
diff --git a/stdlib/source/test/lux/abstract/hash.lux b/stdlib/source/test/lux/abstract/hash.lux
index 635476226..dd0fd6732 100644
--- a/stdlib/source/test/lux/abstract/hash.lux
+++ b/stdlib/source/test/lux/abstract/hash.lux
@@ -23,15 +23,15 @@
(do random.monad
[leftN random.nat
rightN random.nat
- .let [hash (: (Equivalence (/.Hash Nat))
- (implementation
- (def: (= (open "left#[0]") (open "right#[0]"))
- (and (bit#= (left#= (left#hash leftN) (left#hash leftN))
- (right#= (right#hash leftN) (right#hash leftN)))
- (bit#= (left#= (left#hash rightN) (left#hash rightN))
- (right#= (right#hash rightN) (right#hash rightN)))
- (bit#= (left#= (left#hash leftN) (left#hash rightN))
- (right#= (right#hash leftN) (right#hash rightN)))))))]]
+ .let [hash (is (Equivalence (/.Hash Nat))
+ (implementation
+ (def: (= (open "left#[0]") (open "right#[0]"))
+ (and (bit#= (left#= (left#hash leftN) (left#hash leftN))
+ (right#= (right#hash leftN) (right#hash leftN)))
+ (bit#= (left#= (left#hash rightN) (left#hash rightN))
+ (right#= (right#hash rightN) (right#hash rightN)))
+ (bit#= (left#= (left#hash leftN) (left#hash rightN))
+ (right#= (right#hash leftN) (right#hash rightN)))))))]]
(<| (_.covering /._)
($_ _.and
(_.for [/.functor]