From b0914546f8e8ea5ef970c1f92dbb0072aa22be63 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Fri, 20 Jul 2018 23:43:59 -0400 Subject: "^open" and "open:" now use aliases instead of prefixes, the same way as module aliases. --- stdlib/source/lux/data/format/json.lux | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'stdlib/source/lux/data/format/json.lux') diff --git a/stdlib/source/lux/data/format/json.lux b/stdlib/source/lux/data/format/json.lux index 764beab83..79510cb5c 100644 --- a/stdlib/source/lux/data/format/json.lux +++ b/stdlib/source/lux/data/format/json.lux @@ -6,19 +6,19 @@ ["." monad (#+ do Monad)] [equivalence (#+ Equivalence)] codec - ["p" parser ("parser/" Monad)]] + ["p" parser ("parser/." Monad)]] [data ["." bit] ["." maybe] ["e" error] ["." sum] ["." product] - ["." number ("frac/" Codec) ("nat/" Codec)] - ["." text ("text/" Equivalence Monoid) + ["." number ("frac/." Codec) ("nat/." Codec)] + ["." text ("text/." Equivalence Monoid) ["l" lexer]] [collection - ["." list ("list/" Fold Monad)] - ["." row (#+ Row row) ("row/" Monad)] + ["." list ("list/." Fold Monad)] + ["." row (#+ Row row) ("row/." Monad)] ["dict" dictionary (#+ Dictionary)]]] ["." macro (#+ Monad with-gensyms) ["s" syntax (#+ syntax:)] @@ -61,7 +61,7 @@ (json ["this" "is" "an" "array"]) (json {"this" "is" "an" "object"}))} - (let [(^open) Monad + (let [(^open ".") Monad wrapper (function (_ x) (` (..json (~ x))))] (case token (^template [ ] -- cgit v1.2.3