Fix solution 10 to be point-free.