
That reminds me of: http://search.dilbert.com/comic/Random%20Number%20Generator (sorry if this off-topic post offends anyone on this otherwise serious list) Best regards, Krzysztof Skrzętnicki On Sat, Jun 16, 2012 at 1:52 PM, Dominic Steinitz < idontgetoutmuch@googlemail.com> wrote:
import qualified Data.Vector.Unboxed as U
import System.Random.Mersenne.Pure64 import qualified Data.Vector.Random.Mersenne as G main = do h <- newPureMT let b = G.randoms h 10 :: U.Vector Bool print b
*Main> main fromList [True,True,True,True,True,**True,True,True,True,True]
______________________________**_________________ Libraries mailing list Libraries@haskell.org http://www.haskell.org/**mailman/listinfo/librarieshttp://www.haskell.org/mailman/listinfo/libraries