diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/data/format/json.lux | 4 |
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) |