aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/abstract/monad/free.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/test/lux/abstract/monad/free.lux13
1 files changed, 4 insertions, 9 deletions
diff --git a/stdlib/source/test/lux/abstract/monad/free.lux b/stdlib/source/test/lux/abstract/monad/free.lux
index 5d786ae19..760acc2aa 100644
--- a/stdlib/source/test/lux/abstract/monad/free.lux
+++ b/stdlib/source/test/lux/abstract/monad/free.lux
@@ -4,13 +4,11 @@
[abstract
[functor (.only Functor)]
[apply (.only Apply)]
- [monad (.only Monad do)]
+ ["[0]" monad (.only do)]
["[0]" functor
["[1]T" \\test (.only Injection Comparison)]]
["[0]" apply
- ["[1]T" \\test]]
- [\\specification
- ["$[0]" monad]]]
+ ["[1]T" \\test]]]
[data
[collection
["[0]" list (.use "[1]#[0]" functor)]]]
@@ -21,7 +19,7 @@
[\\library
["[0]" /]])
-(def injection
+(def .public injection
(Injection (/.Free List))
(|>> {/.#Pure}))
@@ -36,7 +34,7 @@
(list#each interpret)
list.together)))
-(def comparison
+(def .public comparison
(Comparison (/.Free List))
(function (_ == left right)
(of (list.equivalence ==) =
@@ -54,7 +52,4 @@
(_.for [/.apply]
(applyT.spec ..injection ..comparison (is (Apply (/.Free List))
(/.apply list.functor))))
- (_.for [/.monad]
- ($monad.spec ..injection ..comparison (is (Monad (/.Free List))
- (/.monad list.functor))))
)))