[Haskell-cafe] random colors, stack space overflow,
mersenne and mersenne.pure64
Don Stewart
dons at galois.com
Fri Sep 12 22:06:48 EDT 2008
Oh, you've got unicode source. What's the flag to get this to actually
compile? (Note to readers, using extensions , you should always include
the LANGUAGE pragmas required to build the file when asking for help :)
How are you compiling this?
-- Don
cetin.sert:
> Oh, hi *^o^*
>
> mersenne.pure64
> [1]http://sert.homedns.org/lab/colors/var2.hs
>
> mersenne
> [2]http://sert.homedns.org/lab/colors/var.hs
>
> the problem seems to be with the definition of colorR in var2.hs
>
> CS
>
> 2008/9/13 Don Stewart <[3]dons at galois.com>
>
> cetin.sert:
> > random = color2
> > randomR = colorR
> >
> > color2 :: RandomGen g .$B"M.(B g .$B"*.(B (RGB,g)
> > color2 = colorR (minRGB,maxRGB)
> >
> > color :: RandomGen g .$B"M.(B g .$B"*.(B (RGB,g)
> > color s0 = ((r,g,b),s3)
> > where
>
> ^^^^^^^^^^
>
> There's some corruption in this text. Could you post the file somewhere?
> -- Don
>
> References
>
> Visible links
> 1. http://sert.homedns.org/lab/colors/var2.hs
> 2. http://sert.homedns.org/lab/colors/var.hs
> 3. mailto:dons at galois.com
More information about the Haskell-Cafe
mailing list