2 ms·
>However, there are some special cases where variable scope is smaller than a whole function, e.g. within list comprehensions. Or we can think of a list compre
by coldtea 6y ago
>However, there are some special cases where variable scope is smaller than a whole function, e.g. within list comprehensions.
Or we can think of a list comprehension as a function doing a loop/collect under the scenes.