How to generate a list of random Num elements without IO in Haskell

后端 未结 0 845
青春惊慌失措
青春惊慌失措 2021-01-11 09:53

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:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题