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.lux42
1 files changed, 21 insertions, 21 deletions
diff --git a/stdlib/source/test/lux/abstract/monad.lux b/stdlib/source/test/lux/abstract/monad.lux
index 14529fdc5..19e5bb342 100644
--- a/stdlib/source/test/lux/abstract/monad.lux
+++ b/stdlib/source/test/lux/abstract/monad.lux
@@ -29,35 +29,35 @@
(n.= (inc mono)
(: (Identity Nat)
(/.bind identity.monad
- (|>> inc (:: identity.monad wrap))
- (:: identity.monad wrap mono)))))
+ (|>> inc (\ identity.monad wrap))
+ (\ identity.monad wrap mono)))))
(_.cover [/.seq]
- (:: (list.equivalence n.equivalence) =
- (list\map inc poly)
- (|> poly
- (list\map (|>> inc (:: identity.monad wrap)))
- (: (List (Identity Nat)))
- (/.seq identity.monad)
- (: (Identity (List Nat))))))
+ (\ (list.equivalence n.equivalence) =
+ (list\map inc poly)
+ (|> poly
+ (list\map (|>> inc (\ identity.monad wrap)))
+ (: (List (Identity Nat)))
+ (/.seq identity.monad)
+ (: (Identity (List Nat))))))
(_.cover [/.map]
- (:: (list.equivalence n.equivalence) =
- (list\map inc poly)
- (|> poly
- (/.map identity.monad (|>> inc (:: identity.monad wrap)))
- (: (Identity (List Nat))))))
+ (\ (list.equivalence n.equivalence) =
+ (list\map inc poly)
+ (|> poly
+ (/.map identity.monad (|>> inc (\ identity.monad wrap)))
+ (: (Identity (List Nat))))))
(_.cover [/.filter]
- (:: (list.equivalence n.equivalence) =
- (list.filter n.even? poly)
- (|> poly
- (/.filter identity.monad (|>> n.even? (:: identity.monad wrap)))
- (: (Identity (List Nat))))))
+ (\ (list.equivalence n.equivalence) =
+ (list.filter n.even? poly)
+ (|> poly
+ (/.filter identity.monad (|>> n.even? (\ identity.monad wrap)))
+ (: (Identity (List Nat))))))
(_.cover [/.fold]
(n.= (list\fold n.+ 0 poly)
(|> poly
(/.fold identity.monad
(function (_ part whole)
- (:: identity.monad wrap
- (n.+ part whole)))
+ (\ identity.monad wrap
+ (n.+ part whole)))
0)
(: (Identity Nat)))))
))))