News for hackers. Stuff that matters.
Re:Haskell for a New Decade [pdf] by smabie on Tuesday June 23, 2020 @10:09PM (#23623143)
There's no reason that you can't do this. Of course, you're not going to be able to just simply return a list of random numbers. But you can get a Rand [Int] or whatever and then evaluate it in an IO monad using evalRandIO.

There are no comments on this comment yet.