aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/target/ruby.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/test/lux/target/ruby.lux')
-rw-r--r--stdlib/source/test/lux/target/ruby.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/test/lux/target/ruby.lux b/stdlib/source/test/lux/target/ruby.lux
index 603cded95..968d3c7bd 100644
--- a/stdlib/source/test/lux/target/ruby.lux
+++ b/stdlib/source/test/lux/target/ruby.lux
@@ -138,7 +138,7 @@
))
))))
-(def: int/16
+(def: int_16
(-> Int Int)
(i64.and (-- (i64.left_shifted 15 1))))
@@ -148,7 +148,7 @@
[left random.int
right random.int
- i16 (# ! each ..int/16 random.int)
+ i16 (# ! each ..int_16 random.int)
shift (# ! each (n.% 16) random.nat)]
(`` ($_ _.and
(~~ (template [</> <lux>]
@@ -630,7 +630,7 @@
(expression (|>> (as Int) .nat (n.= arity))
(|> (/.return (/.the "length" $inputs))
[(list (/.variadic_kv $inputs))] (/.lambda {.#None})
- (/.apply_lambda/* (list (/.double_splat (/.hash (list.zipped/2 keys vals)))))))))
+ (/.apply_lambda/* (list (/.double_splat (/.hash (list.zipped_2 keys vals)))))))))
)))
(def: test|var
@@ -716,7 +716,7 @@
(def: test|label
Test
(do [! random.monad]
- [input (# ! each ..int/16 random.int)
+ [input (# ! each ..int_16 random.int)
full_inner_iterations (# ! each (|>> (n.% 20) ++) random.nat)
expected_inner_iterations (# ! each (n.% full_inner_iterations) random.nat)