[Haskell-cafe] why is Random in System?

Niklas Larsson metaniklas at gmail.com
Wed Aug 17 00:02:44 CEST 2011


I don't like the idea of Data.Random because random numbers use
ordinary number types, and the generator itself is not the object of
interest, the numbers are. I'd much prefer Math.Random. As the Math
prefix isn't used in the core libraries maybe Control.Random is the
least unpalatable alternative.

Regards,
Niklas



More information about the Haskell-Cafe mailing list