Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why People Should Learn Python. Parent comment
products.lazy.select { |product| product.type == 'x' }.map(&:price).reduce(:+)
There are no comments on this comment yet.
products.lazy.select { |product| product.type == 'x' }.map(&:price).reduce(:+)