mirror of
https://github.com/kanaka/mal.git
synced 2024-10-26 22:28:26 +03:00
Jq: Fix our share of #513
This commit is contained in:
parent
805ae7b280
commit
ada8c52f53
@ -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)
|
||||
|
@ -419,7 +419,7 @@ def EVAL(env):
|
||||
end;
|
||||
(select(.kind == "list") |
|
||||
if .value | length == 0 then
|
||||
.
|
||||
. | addEnv(env)
|
||||
else
|
||||
(
|
||||
(
|
||||
|
Loading…
Reference in New Issue
Block a user