Advanced Functional Programming with Elixir: Slightly misleading contramap exercise (Page 36)

The exercise states

“Create a contramap/1 that normalizes strings before comparing them—make sure they’re trimmed and use the same case.”

However the existing contramap/1 function is sufficient but the author means create the function to pass to the exisiting contramap/1 function, as shown in the answer.