I need to generate list of random elements without IO monad, is there a way to do it? I managed to do myself a random list generating function only with IO, here it is: