Re: The vector-random package regression

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
javascript:;> Date: Sat, Jun 16, 2012 at 6:52 AM Subject: Re: The vector-random package regression To: Henning Thielemann javascript:;> Cc: libraries@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@galois.comjavascript:;(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@haskell.org javascript:; http://www.haskell.org/mailman/listinfo/libraries
participants (1)
-
Don Stewart