aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/polytypic
diff options
context:
space:
mode:
authorEduardo Julian2022-06-16 02:16:07 -0400
committerEduardo Julian2022-06-16 02:16:07 -0400
commite00e0b5f1e5fb509cf8f32424397110f524b8148 (patch)
treead15496975ea945d5f8fb2c795414d561561d2b6 /stdlib/source/polytypic
parent9e2f1e76f2c8df01ed7687d934c3210fcf676bd6 (diff)
New "parser" hierarchy. [Part 3]
Diffstat (limited to 'stdlib/source/polytypic')
-rw-r--r--stdlib/source/polytypic/lux/data/format/json.lux4
1 files changed, 3 insertions, 1 deletions
diff --git a/stdlib/source/polytypic/lux/data/format/json.lux b/stdlib/source/polytypic/lux/data/format/json.lux
index 972e074a5..6c0f18430 100644
--- a/stdlib/source/polytypic/lux/data/format/json.lux
+++ b/stdlib/source/polytypic/lux/data/format/json.lux
@@ -7,12 +7,14 @@
[control
["[0]" try]
["<>" parser (.only)
- ["</>" json]
["<[0]>" type]
["<[0]>" code]]]
[data
["[0]" text (.only)
["%" \\format (.only format)]]
+ [format
+ [json
+ ["</>" \\parser]]]
[collection
["[0]" list (.open: "[1]#[0]" monad)]
["[0]" sequence (.only sequence)]