aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/control/parser/json.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/control/parser/json.lux')
-rw-r--r--stdlib/source/library/lux/control/parser/json.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/library/lux/control/parser/json.lux b/stdlib/source/library/lux/control/parser/json.lux
index 1348b92b4..dcbda6f71 100644
--- a/stdlib/source/library/lux/control/parser/json.lux
+++ b/stdlib/source/library/lux/control/parser/json.lux
@@ -146,8 +146,8 @@
(#/.Object kvs)
(case (|> kvs
dictionary.entries
- (list\map (function (_ [key value])
- (list (#/.String key) value)))
+ (list\each (function (_ [key value])
+ (list (#/.String key) value)))
list.together
(//.result parser))
(#try.Failure error)
@@ -195,4 +195,4 @@
(|>> (//.and ..string)
//.some
..object
- (//\map (dictionary.of_list text.hash))))
+ (//\each (dictionary.of_list text.hash))))