We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4ffc54 commit 2338cb9Copy full SHA for 2338cb9
1 file changed
18-context-mngr/lispy/py3.10/lis.py
@@ -25,7 +25,8 @@ def __init__(self, parms: list[str], body: Expression, env: Environment):
25
self.parms, self.body, self.env = parms, body, env
26
27
def __call__(self, *args: Expression) -> Any:
28
- env: Environment = ChainMap(dict(zip(self.parms, args)), self.env)
+ local_env = dict(zip(self.parms, args))
29
+ env: Environment = ChainMap(local_env, self.env)
30
return evaluate(self.body, env)
31
32
0 commit comments