aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/aedifex/hash.lux
diff options
context:
space:
mode:
authorEduardo Julian2021-08-24 05:23:45 -0400
committerEduardo Julian2021-08-24 05:23:45 -0400
commit36303d6cb2ce3ab9e36d045b9516c997bd461862 (patch)
treeb9d2f1495143054d61d9af129f36833624db9dac /stdlib/source/test/aedifex/hash.lux
parentec1f31b5a1492d5e0ab260397291d4449483bbd9 (diff)
Outsourced the syntax for labelled type definitions to macros.
Diffstat (limited to 'stdlib/source/test/aedifex/hash.lux')
-rw-r--r--stdlib/source/test/aedifex/hash.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/test/aedifex/hash.lux b/stdlib/source/test/aedifex/hash.lux
index 5e267091d..e91b79e1f 100644
--- a/stdlib/source/test/aedifex/hash.lux
+++ b/stdlib/source/test/aedifex/hash.lux
@@ -30,8 +30,8 @@
(-> (-> Binary (/.Hash h))
(Random (/.Hash h))))
(do {! random.monad}
- [size (\ ! map (n.% 100) random.nat)]
- (\ ! map hash (_binary.random size))))
+ [size (\ ! each (n.% 100) random.nat)]
+ (\ ! each hash (_binary.random size))))
(def: .public test
Test
@@ -55,7 +55,7 @@
(#try.Failure error)
false)
- (case (<constructor> (\ binary.monoid compose
+ (case (<constructor> (\ binary.monoid composite
(/.data expected)
(/.data expected)))
(#try.Success actual)