'How to get from a list of a Monad to a Monad of a list

I am looking for a way to convert a type of [m [a]] to m [[a]] where m is a Monad of some type.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source