Hacker News new | ask | show | jobs
by d0mine 459 days ago
Set comprehension are more idiomatic here (explicit syntax) though filter/map are not that bad too:

    {*map(_.author, filter(_.page_count > 1000, books))}
It uses lambdas package.