(self)
| 1355 | assert lam._ast.name == "x" |
| 1356 | |
| 1357 | def test_lambda_multi(self): |
| 1358 | x, y = Ints("x y") |
| 1359 | lam = Lambda([x, y], x + y) |
| 1360 | assert isinstance(lam._ast, LambdaNode) |
| 1361 | assert isinstance(lam._ast.body, LambdaNode) |
| 1362 | |
| 1363 | def test_lambda_free_vars(self): |
| 1364 | """Lambda binds its variable.""" |