aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/data/format/json.lux
diff options
context:
space:
mode:
authorEduardo Julian2016-12-12 23:07:50 -0400
committerEduardo Julian2016-12-12 23:07:50 -0400
commitd8b1363f087ae15d2ed63ab1f86a14a83c43f1e3 (patch)
treec738a17938f3b6eb3a488942cb4ac61f67d558b2 /stdlib/source/lux/data/format/json.lux
parent02f78b1ff29982bea8c93fe6252593ba3942f38b (diff)
- No longer using record syntax in certain macros.
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/data/format/json.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/data/format/json.lux b/stdlib/source/lux/data/format/json.lux
index aa469beb5..280aab24b 100644
--- a/stdlib/source/lux/data/format/json.lux
+++ b/stdlib/source/lux/data/format/json.lux
@@ -676,7 +676,7 @@
(syntax;alt (syntax;tuple (syntax;some syntax;any))
(syntax;record (syntax;some (syntax;seq syntax;text syntax;any)))))
-(syntax: #export (shape^ {shape _shape^})
+(syntax: #export (shape^ [shape _shape^])
(case shape
(#ArrayShape parts)
(let [array-size (list;size parts)
@@ -694,7 +694,7 @@
(wrap (list (` ($_ seq (~@ parsers))))))
))
-(syntax: #export (shape!^ {shape _shape^})
+(syntax: #export (shape!^ [shape _shape^])
(case shape
(#ArrayShape parts)
(let [array-size (list;size parts)