in the most popular languages this way of programming is hurt by the syntax.
this could be something more like
distinct
filter books .pageCount >1000
.author
i think fp looks pretty terrible in js, rust, python, etc