foldMapA -package:fmlist

Polymorphic version of the concatMapA function.
>>> foldMapA @[Int] (Just . replicate 3) [1..3]
Just [1,1,1,2,2,2,3,3,3]
Map a Foldable collection of values into a nondeterministic computation using the supplied action.
Branch over a Foldable collection of values using the supplied action.