mapAttrs -> mapAttrsToList

This commit is contained in:
niten 2022-05-30 16:11:48 -07:00
parent c040b2f401
commit 3810d43bbb
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ let
"[ ${join-str (map toEDN ds)} ]" "[ ${join-str (map toEDN ds)} ]"
else else
(if isAttrs ds then (if isAttrs ds then
"{ ${join-str (mapAttrs (k: v: ":${k} ${toEDN v}") ds)} }" "{ ${join-str (mapAttrsToList (k: v: ":${k} ${toEDN v}") ds)} }"
else else
throw "unsupported type: ${builtins.typeOf ds}: ${ds}"))); throw "unsupported type: ${builtins.typeOf ds}: ${ds}")));