aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/macro/poly/json.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/test/lux/macro/poly/json.lux3
1 files changed, 2 insertions, 1 deletions
diff --git a/stdlib/source/test/lux/macro/poly/json.lux b/stdlib/source/test/lux/macro/poly/json.lux
index 0921cce9e..8a72e0e2b 100644
--- a/stdlib/source/test/lux/macro/poly/json.lux
+++ b/stdlib/source/test/lux/macro/poly/json.lux
@@ -20,6 +20,7 @@
["." maybe]
["." text]
[number
+ ["n" nat]
["." frac]]
[format
[json (#+)]]
@@ -89,7 +90,7 @@
(def: gen-record
(Random Record)
(do r.monad
- [size (:: @ map (n/% 2) r.nat)]
+ [size (:: @ map (n.% 2) r.nat)]
($_ r.and
r.bit
r.frac