Make function clearer by removing do-syntax

Point-free all the way.