
2 Nov
2006
2 Nov
'06
3:30 a.m.
Hello Lennart, Thursday, November 2, 2006, 6:04:39 AM, you wrote:
The whole point of writing the Mersenne Twister was that I wanted to show how a stateful computation could be encapsulated in the ST monad and none of it showing up outside. This aspect of the code is totally gone now when everything is in the IO monad. Is there some good reason to have it in the IO monad?
i think no. ST computations internally are really the same as IO ones -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com