aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/poly/lux/data
diff options
context:
space:
mode:
authorEduardo Julian2022-06-01 21:52:34 -0400
committerEduardo Julian2022-06-01 21:52:34 -0400
commit5d44577c3849a045052dc1c9f0dd7deddd032120 (patch)
treeb0e00801734720e9f985c7dfa239aaa0bdea7bcd /stdlib/source/poly/lux/data
parent659537b4ec859f1e705cdd1f82da29ab1a662d94 (diff)
Extensible import syntax: Part 1
Diffstat (limited to '')
-rw-r--r--stdlib/source/poly/lux/data/format/json.lux12
1 files changed, 6 insertions, 6 deletions
diff --git a/stdlib/source/poly/lux/data/format/json.lux b/stdlib/source/poly/lux/data/format/json.lux
index 9e4a6a369..1c35ac334 100644
--- a/stdlib/source/poly/lux/data/format/json.lux
+++ b/stdlib/source/poly/lux/data/format/json.lux
@@ -3,7 +3,7 @@
[lux "*"
["[0]" debug]
[abstract
- [monad {"+" do}]
+ [monad (.only do)]
["[0]" codec]]
[control
["[0]" try]
@@ -13,13 +13,13 @@
["<[0]>" code]]]
[data
["[0]" text
- ["%" format {"+" format}]]
+ ["%" format (.only format)]]
[collection
["[0]" list ("[1]#[0]" monad)]
- ["[0]" sequence {"+" sequence}]
+ ["[0]" sequence (.only sequence)]
["[0]" dictionary]]]
[macro
- [syntax {"+" syntax:}]
+ [syntax (.only syntax:)]
["[0]" code]]
[math
[number
@@ -35,9 +35,9 @@
["[0]" month]]
["[0]" type
["[0]" unit]
- ["[0]" poly {"+" poly:}]]]]
+ ["[0]" poly (.only poly:)]]]]
[\\library
- ["[0]" / {"+" JSON}]])
+ ["[0]" / (.only JSON)]])
(def: tag
(-> Nat Frac)