Y
Hacker News
new
|
ask
|
show
|
jobs
by
andreareina
1385 days ago
That filter statement gets you an iterator, not a list. The reality is that map and filter in python aren't terribly ergonomic and thus are avoided even given a near-perfect use case, e.g. point-free application.