concatMap package:rio

Map a function over a ByteString and concatenate the results
Map a function over all the elements of a container and concatenate the resulting lists.
O(n) Map a function over a Text that results in a Text, and concatenate the results.
Map a function over a vector and concatenate the results.
Map a function over a vector and concatenate the results.
Map a function over a vector and concatenate the results.
Map a function over a vector and concatenate the results.
Given a means of mapping the elements of a structure to lists, computes the concatenation of all such lists in order.