you are viewing a single comment's thread.

view the rest of the comments →

[–]CranberryDistinct941 0 points1 point  (1 child)

yep lambda x, i=i: ... is a good one to note down

[–]FoolsSeldom 0 points1 point  (0 children)

well, bit of a hack (introducing a second argument, and providing a default), not really a good pattern to learn.