mapAttrs -> mapAttrsToList
This commit is contained in:
parent
c040b2f401
commit
3810d43bbb
|
@ -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}")));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue