[Haskell-cafe] Implementing Las Vegas algorithms in Haskell

Ketil Malde ketil at malde.org
Tue Jul 7 06:47:54 EDT 2009


Ketil Malde <ketil at malde.org> writes:

>   sample :: Distribution -> Random Double

Sorry, that's not entirely accurate.  Rather:

   sample :: RandomGen g => Distribution -> Rand g Double

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants


More information about the Haskell-Cafe mailing list