You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OK, my take is that all of these ought to propagate names:
A = [f(x) for x in nda]
B = map(f, nda)
C = [g(x,y) for x in nda, y in ndb] # (names(nda)..., names(ndb)...)
D = map(g, nda, ndb) # unify(names(nda), names(ndb))
E = filter(h, nda)
Only some of them do now. What's the argument against any of these? Or what other cases need to be worried about before fixing them?
If you believe
map
&collect
ed generators ought not to simply propagate names along, then perhaps open a discussion issue?Originally posted by @mcabbott in #73 (comment)
The text was updated successfully, but these errors were encountered: