4 ms·
Lexical scopes capturing variables is more powerful than capturing values. If you want to capture values, that's easy too, with: lambda x, i=i: ...
by Peaker 14y ago
Lexical scopes capturing variables is more powerful than capturing values.
If you want to capture values, that's easy too, with:
lambda x, i=i: ...