Wraps a collection with a call to
collect
, which returns a list with results of applying a function to each element of the collection.