concatMap package:numeric-prelude

Map a function over all the elements of a container and concatenate the resulting lists.