aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/data/lazy.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/test/lux/data/lazy.lux20
1 files changed, 10 insertions, 10 deletions
diff --git a/stdlib/source/test/lux/data/lazy.lux b/stdlib/source/test/lux/data/lazy.lux
index 0c93ae612..4fb2f6642 100644
--- a/stdlib/source/test/lux/data/lazy.lux
+++ b/stdlib/source/test/lux/data/lazy.lux
@@ -20,7 +20,7 @@
(def: injection
(Injection Lazy)
- (|>> /.freeze))
+ (|>> /.lazy))
(def: comparison
(Comparison Lazy)
@@ -29,7 +29,7 @@
(def: #export lazy
(All [a] (-> (Random a) (Random (Lazy a))))
- (\ random.functor map (|>> /.freeze)))
+ (\ random.functor map (|>> /.lazy)))
(def: #export test
Test
@@ -52,16 +52,16 @@
(_.for [/.monad]
($monad.spec ..injection ..comparison /.monad))
- (_.cover [/.freeze]
- (let [lazy (/.freeze <eager>)
+ (_.cover [/.lazy]
+ (let [lazy (/.lazy <eager>)
(^open "\=") (product.equivalence n.equivalence n.equivalence)]
(\= expected
- (/.thaw lazy))))
+ (/.value lazy))))
- (_.cover [/.thaw]
- (let [lazy (/.freeze <eager>)]
+ (_.cover [/.value]
+ (let [lazy (/.lazy <eager>)]
(and (not (is? expected
- (/.thaw lazy)))
- (is? (/.thaw lazy)
- (/.thaw lazy)))))
+ (/.value lazy)))
+ (is? (/.value lazy)
+ (/.value lazy)))))
))))))