aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/data/format/json.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/data/format/json.lux')
-rw-r--r--stdlib/source/library/lux/data/format/json.lux12
1 files changed, 6 insertions, 6 deletions
diff --git a/stdlib/source/library/lux/data/format/json.lux b/stdlib/source/library/lux/data/format/json.lux
index af8a52bb4..52afae21d 100644
--- a/stdlib/source/library/lux/data/format/json.lux
+++ b/stdlib/source/library/lux/data/format/json.lux
@@ -1,4 +1,4 @@
-(.using
+(.require
[library
[lux (.except has)
["[0]" meta (.only monad)]
@@ -11,16 +11,16 @@
["[0]" pipe]
["[0]" maybe]
["[0]" try (.only Try)]
- ["<>" parser (.open: "[1]#[0]" monad)
+ ["<>" parser (.use "[1]#[0]" monad)
["<[0]>" code]]]
[data
["[0]" bit]
["[0]" product]
- ["[0]" text (.open: "[1]#[0]" equivalence monoid)
+ ["[0]" text (.use "[1]#[0]" equivalence monoid)
["<[1]>" \\parser (.only Parser)]]
[collection
- ["[0]" list (.open: "[1]#[0]" mix functor)]
- ["[0]" sequence (.only Sequence sequence) (.open: "[1]#[0]" monad)]
+ ["[0]" list (.use "[1]#[0]" mix functor)]
+ ["[0]" sequence (.only Sequence sequence) (.use "[1]#[0]" monad)]
["[0]" dictionary (.only Dictionary)]]]
[macro
[syntax (.only syntax)]
@@ -29,7 +29,7 @@
[math
[number
["n" nat]
- ["f" frac (.open: "[1]#[0]" decimal)]]]]])
+ ["f" frac (.use "[1]#[0]" decimal)]]]]])
(with_template [<name> <type>]
[(type: .public <name>