aboutsummaryrefslogtreecommitdiff
path: root/licentia/source/test
diff options
context:
space:
mode:
Diffstat (limited to 'licentia/source/test')
-rw-r--r--licentia/source/test/licentia.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/licentia/source/test/licentia.lux b/licentia/source/test/licentia.lux
index 0e40d75bb..a76149e42 100644
--- a/licentia/source/test/licentia.lux
+++ b/licentia/source/test/licentia.lux
@@ -50,9 +50,9 @@
[start (random.filter (|>> (n.= n#top) not)
random.nat)
#let [wiggle_room (n.- start n#top)]
- end (# ! each
- (|>> (n.% wiggle_room) (n.max 1))
- random.nat)]
+ end (at ! each
+ (|>> (n.% wiggle_room) (n.max 1))
+ random.nat)]
(wrap [time.#start start
time.#end end])))
@@ -109,8 +109,8 @@
(def: (variable_list max_size gen_element)
(All (_ a) (-> Nat (Random a) (Random (List a))))
(do [! random.monad]
- [amount (# ! each (n.% (n.max 1 max_size))
- random.nat)]
+ [amount (at ! each (n.% (n.max 1 max_size))
+ random.nat)]
(random.list amount gen_element)))
(def: black_list