aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/abstract/monad.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/test/lux/abstract/monad.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/test/lux/abstract/monad.lux b/stdlib/source/test/lux/abstract/monad.lux
index cc4642e13..2c6fb3ac7 100644
--- a/stdlib/source/test/lux/abstract/monad.lux
+++ b/stdlib/source/test/lux/abstract/monad.lux
@@ -46,11 +46,11 @@
(|> poly
(/.map identity.monad (|>> inc (\ identity.monad wrap)))
(: (Identity (List Nat))))))
- (_.cover [/.filter]
+ (_.cover [/.only]
(\ (list.equivalence n.equivalence) =
- (list.filter n.even? poly)
+ (list.only n.even? poly)
(|> poly
- (/.filter identity.monad (|>> n.even? (\ identity.monad wrap)))
+ (/.only identity.monad (|>> n.even? (\ identity.monad wrap)))
(: (Identity (List Nat))))))
(_.cover [/.fold]
(n.= (list\fold n.+ 0 poly)