aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/math/number/complex.lux
diff options
context:
space:
mode:
authorEduardo Julian2021-07-27 03:51:10 -0400
committerEduardo Julian2021-07-27 03:51:10 -0400
commit061fd8a209bbcaffc2bfb850ac6046752a567d50 (patch)
tree8cd83ad7d0bc06ded7976eb5420467e485733ae8 /stdlib/source/test/lux/math/number/complex.lux
parente64b6d0114c26a455e19a416b5f02a4d19dd711f (diff)
Re-named wrap => in && unwrap => out.
Diffstat (limited to '')
-rw-r--r--stdlib/source/test/lux/math/number/complex.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/test/lux/math/number/complex.lux b/stdlib/source/test/lux/math/number/complex.lux
index a1ebf331d..e5f43c47d 100644
--- a/stdlib/source/test/lux/math/number/complex.lux
+++ b/stdlib/source/test/lux/math/number/complex.lux
@@ -30,15 +30,15 @@
(do {! random.monad}
[factor (|> random.nat (\ ! map (|>> (n.% 1000) (n.max 1))))
measure (|> random.safe_frac (random.only (f.> +0.0)))]
- (wrap (f.* (|> factor .int int.frac)
- measure))))
+ (in (f.* (|> factor .int int.frac)
+ measure))))
(def: #export random
(Random /.Complex)
(do random.monad
[real ..dimension
imaginary ..dimension]
- (wrap (/.complex real imaginary))))
+ (in (/.complex real imaginary))))
(def: angle
(Random /.Complex)