The vector-random package regression

Don Stewart dons00 at gmail.com
Sat Jun 16 21:18:49 CEST 2012


Repos at code.haskell.org/~dons/code

On Saturday, June 16, 2012, Antoine Latter wrote:

> FYI - I don't know if you actively follow the libraries list.
>
>
> ---------- Forwarded message ----------
> From: Dominic Steinitz <idontgetoutmuch at googlemail.com <javascript:;>>
> Date: Sat, Jun 16, 2012 at 6:52 AM
> Subject: Re: The vector-random package regression
> To: Henning Thielemann <lemming at henning-thielemann.de <javascript:;>>
> Cc: libraries at haskell.org <javascript:;>
>
>
> On 10/06/2012 16:37, Henning Thielemann wrote:
> >
> >
> > On Sun, 10 Jun 2012, Dominic Steinitz wrote:
> >
> >> I'm not sure if this is a recent regression but I just installed the
> Haskell Platfom 2012.2. The email for the maintainer dons at galois.com<javascript:;>(Don Stewart) no longer seems to be valid.
> >
> >
> > As far as I know, earlier versions of GHC didn't check for unused INLINE
> pragmas.
>
> That was relatively easy to fix but I don't think I can submit a patch
> as there is no repository for the code and the email of the maintainer
> is no longer valid.
>
> I am probably using the package incorrectly but worse, for some types
> it does not seem to generate random values - see below. I don't think
> there's anyway of submitting a bug report; I'm reporting it here so
> there is at least some awareness there might be a problem.
>
> Dominic.
> >
> > 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 <javascript:;>
> http://www.haskell.org/mailman/listinfo/libraries
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20120616/58aa6d65/attachment.htm>


More information about the Libraries mailing list