Hacker News new | ask | show | jobs
by cool-RR 5289 days ago
Sure, I understand all of that. I'm just saying it's unusual to see a lambda function throwing away the value like that.
1 comments

The value of the lambda is the generator object. How else could you call list() on it if it was thrown away?
You're just using the word "value" in a different way. I meant "value" as in the 7.
You're right. I am still referring to that particular part of your blog post:

  >> So that’s the only case I can think of where Python
  >> completely throws away the value of a lambda function.