News for hackers. Stuff that matters.
Re:Why I'm still using Python by nequo on Friday December 30, 2022 @05:26PM (#34190816)
Huh, our mutual confusion is interesting indeed! Thank you for teaching me something about Ruby. What compact does makes sense.

Python’s list comprehension combines map and filter.

  [process(s) for s in stuff if s.unprocessed]
is equivalent to

  map process (filter isUnprocessed stuff)
in Haskell.

There are no comments on this comment yet.