aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/polytypic
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/polytypic/lux/data/format/json.lux5
1 files changed, 2 insertions, 3 deletions
diff --git a/stdlib/source/polytypic/lux/data/format/json.lux b/stdlib/source/polytypic/lux/data/format/json.lux
index b86f256a2..63017d5ba 100644
--- a/stdlib/source/polytypic/lux/data/format/json.lux
+++ b/stdlib/source/polytypic/lux/data/format/json.lux
@@ -1,7 +1,6 @@
(.using
[library
[lux (.except)
- ["[0]" debug]
[abstract
[monad (.only do)]
["[0]" codec]]
@@ -90,11 +89,11 @@
(codec.Codec JSON (unit.Qty unit)))
(implementation
(def: encoded
- (|>> ((debug.private unit.out'))
+ (|>> unit.number
(at ..int_codec encoded)))
(def: decoded
(|>> (at ..int_codec decoded)
- (at try.functor each (debug.private unit.in'))))))
+ (at try.functor each unit.quantity)))))
(def: encoded
(polytypic encoded