aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/data/collection/dictionary/plist.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/test/lux/data/collection/dictionary/plist.lux')
-rw-r--r--stdlib/source/test/lux/data/collection/dictionary/plist.lux16
1 files changed, 8 insertions, 8 deletions
diff --git a/stdlib/source/test/lux/data/collection/dictionary/plist.lux b/stdlib/source/test/lux/data/collection/dictionary/plist.lux
index 572f06c31..f7079325e 100644
--- a/stdlib/source/test/lux/data/collection/dictionary/plist.lux
+++ b/stdlib/source/test/lux/data/collection/dictionary/plist.lux
@@ -7,9 +7,9 @@
[\\specification
["$[0]" equivalence]]]
[control
- ["[0]" maybe ("[1]\[0]" monad)]]
+ ["[0]" maybe ("[1]#[0]" monad)]]
[data
- ["[0]" bit ("[1]\[0]" equivalence)]
+ ["[0]" bit ("[1]#[0]" equivalence)]
["[0]" text]
[collection
["[0]" set]
@@ -35,7 +35,7 @@
(_.for [/.PList])
(do [! random.monad]
[.let [gen_key (random.ascii/alpha 10)]
- size (\ ! each (n.% 100) random.nat)
+ size (# ! each (n.% 100) random.nat)
sample (..random size gen_key random.nat)
.let [keys (|> sample /.keys (set.of_list text.hash))]
@@ -51,12 +51,12 @@
(_.cover [/.size]
(n.= size (/.size sample)))
(_.cover [/.empty?]
- (bit\= (n.= 0 (/.size sample))
+ (bit#= (n.= 0 (/.size sample))
(/.empty? sample)))
(_.cover [/.empty]
(/.empty? /.empty))
(_.cover [/.keys /.values]
- (\ (/.equivalence n.equivalence) =
+ (# (/.equivalence n.equivalence) =
sample
(list.zipped/2 (/.keys sample)
(/.values sample))))
@@ -75,18 +75,18 @@
(|> sample
(/.has extra_key extra_value)
(/.value extra_key)
- (maybe\each (n.= extra_value))
+ (maybe#each (n.= extra_value))
(maybe.else false)))
(_.cover [/.revised]
(|> sample
(/.has extra_key extra_value)
(/.revised extra_key (n.+ shift))
(/.value extra_key)
- (maybe\each (n.= (n.+ shift extra_value)))
+ (maybe#each (n.= (n.+ shift extra_value)))
(maybe.else false)))
(_.cover [/.lacks]
(|> sample
(/.has extra_key extra_value)
(/.lacks extra_key)
- (\ (/.equivalence n.equivalence) = sample)))
+ (# (/.equivalence n.equivalence) = sample)))
))))