1
1
mirror of https://github.com/kanaka/mal.git synced 2024-08-17 17:50:24 +03:00

Jq: Fix our share of #513

This commit is contained in:
AnotherTest 2020-05-30 05:57:37 +04:30
parent 805ae7b280
commit ada8c52f53
2 changed files with 3 additions and 3 deletions

View File

@ -108,7 +108,7 @@ def EVAL(env):
end;
(select(.kind == "list") |
if .value | length == 0 then
.
. | addEnv(env)
else
(
(
@ -215,4 +215,4 @@ def repl(env):
} | ., xrepl;
{stop: false, env: env} | xrepl | if .value then (.value | _display) else empty end;
repl(replEnv)
repl(replEnv)

View File

@ -419,7 +419,7 @@ def EVAL(env):
end;
(select(.kind == "list") |
if .value | length == 0 then
.
. | addEnv(env)
else
(
(