The vector-random package regression

Krzysztof Skrzętnicki gtener at gmail.com
Sat Jun 16 14:01:11 CEST 2012


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 at 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 at haskell.org
> http://www.haskell.org/**mailman/listinfo/libraries<http://www.haskell.org/mailman/listinfo/libraries>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20120616/31b0ae6e/attachment.htm>


More information about the Libraries mailing list