aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/control/parser/type.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/test/lux/control/parser/type.lux')
-rw-r--r--stdlib/source/test/lux/control/parser/type.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/test/lux/control/parser/type.lux b/stdlib/source/test/lux/control/parser/type.lux
index dc901e3c4..fd1706b0f 100644
--- a/stdlib/source/test/lux/control/parser/type.lux
+++ b/stdlib/source/test/lux/control/parser/type.lux
@@ -31,8 +31,8 @@
(def: primitive
(Random Type)
(|> (random.ascii/alpha_num 1)
- (\ random.monad map (function (_ name)
- (#.Primitive name (list))))))
+ (\ random.monad each (function (_ name)
+ (#.Primitive name (list))))))
(def: matches
Test
@@ -166,7 +166,7 @@
Test
(do {! random.monad}
[not_polymorphic ..primitive
- expected_inputs (\ ! map (|>> (n.% 10) ++) random.nat)]
+ expected_inputs (\ ! each (|>> (n.% 10) ++) random.nat)]
($_ _.and
(_.cover [/.not_polymorphic]
(and (|> (/.result (/.polymorphic /.any)