aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/data/format/json.lux
diff options
context:
space:
mode:
authorEduardo Julian2017-05-23 19:46:10 -0400
committerEduardo Julian2017-05-23 19:46:10 -0400
commite6cbd132125eab9fe72e1c17df5f4c4bcfb32f20 (patch)
tree19e3da5e0c5aa68bdc49565fe361e2743516439c /stdlib/source/lux/data/format/json.lux
parentd1171dc59edd34418e1b8b4da432c78cd59a9cb4 (diff)
- Implemented Real<->Bits conversion (and used it to implement Hash<Real>).
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/data/format/json.lux2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/source/lux/data/format/json.lux b/stdlib/source/lux/data/format/json.lux
index 0919f305f..1cc3000c3 100644
--- a/stdlib/source/lux/data/format/json.lux
+++ b/stdlib/source/lux/data/format/json.lux
@@ -11,7 +11,7 @@
[text "Text/" Eq<Text> Monoid<Text>]
text/format
(text [lexer #+ Lexer Monad<Lexer>])
- [number #* "Real/" Codec<Text,Real>]
+ [number "Real/" Codec<Text,Real>]
maybe
[char "Char/" Eq<Char> Codec<Text,Char>]
["R" result #- fail]