diff options
author | Eduardo Julián | 2021-07-14 14:44:53 -0400 |
---|---|---|
committer | GitHub | 2021-07-14 14:44:53 -0400 |
commit | 89ca40f2f101b2b38187eab5cf905371cd47eb57 (patch) | |
tree | f05fd1677a70988c6b39c07e52d031d86eff28f1 /stdlib/source/poly/lux/data | |
parent | 2431e767a09894c2f685911ba7f1ba0b7de2a165 (diff) | |
parent | 8252bdb938a0284dd12e7365b4eb84b5357bacac (diff) |
Merge pull request #58 from LuxLang/hierarchy_normalization
Hierarchy normalization
Diffstat (limited to 'stdlib/source/poly/lux/data')
-rw-r--r-- | stdlib/source/poly/lux/data/format/json.lux | 83 |
1 files changed, 42 insertions, 41 deletions
diff --git a/stdlib/source/poly/lux/data/format/json.lux b/stdlib/source/poly/lux/data/format/json.lux index 3022a59a8..d7409df9f 100644 --- a/stdlib/source/poly/lux/data/format/json.lux +++ b/stdlib/source/poly/lux/data/format/json.lux @@ -1,45 +1,46 @@ (.module: {#.doc "Codecs for values in the JSON format."} - [lux #* - ["." debug] - [abstract - [monad (#+ Monad do)] - [equivalence (#+ Equivalence)] - ["." codec]] - [control - ["." try] - ["<>" parser - ["<.>" type] - ["</>" json]]] - [data - ["." bit] - maybe - ["." sum] - ["." product] - ["." text ("#\." equivalence) - ["%" format (#+ format)]] - [collection - ["." list ("#\." fold monad)] - ["." row (#+ Row row) ("#\." monad)] - ["d" dictionary]]] - [macro - [syntax (#+ syntax:)] - ["." code] - ["." poly (#+ poly:)]] - [math - [number - ["." i64] - ["n" nat ("#\." decimal)] - ["." int] - ["." frac ("#\." decimal)]]] - [time - ## ["." instant] - ## ["." duration] - ["." date] - ["." day] - ["." month]] - ["." type - ["." unit]]] - [\\ + [library + [lux #* + ["." debug] + [abstract + [monad (#+ Monad do)] + [equivalence (#+ Equivalence)] + ["." codec]] + [control + ["." try] + ["<>" parser + ["<.>" type] + ["</>" json]]] + [data + ["." bit] + maybe + ["." sum] + ["." product] + ["." text ("#\." equivalence) + ["%" format (#+ format)]] + [collection + ["." list ("#\." fold monad)] + ["." row (#+ Row row) ("#\." monad)] + ["d" dictionary]]] + [macro + [syntax (#+ syntax:)] + ["." code] + ["." poly (#+ poly:)]] + [math + [number + ["." i64] + ["n" nat ("#\." decimal)] + ["." int] + ["." frac ("#\." decimal)]]] + [time + ## ["." instant] + ## ["." duration] + ["." date] + ["." day] + ["." month]] + ["." type + ["." unit]]]] + [\\library ["." / (#+ JSON)]]) (def: tag |