The vector-random package regression
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 ----------
> Date: Sat, Jun 16, 2012 at 6:52 AM
> Subject: Re: The vector-random package regression
> 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
> > As far as I know, earlier versions of GHC didn't check for unused INLINE
> 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.
> > 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libraries