Added fourth example. A closure is mapped over an array.