[Haskell-cafe] Installing and running QuickCheck

Derek Elkins ddarius at hotpop.com
Tue Apr 12 11:21:35 EDT 2005

On Tue, 12 Apr 2005 10:09:52 +0200
Daniel Fischer <daniel.is.fischer at web.de> wrote:

> Hm,
> no instance Arbitrary Char is provided in the QuickCheck modules that came 
> with my hugs or ghc. Probably the author just forgot to import Data.Char. Try 
> inserting that in QuickCheck.hs.
> Hope that works,
> Daniel

Hugs used to (non-standardly) import some functions from the Char module.  A bit
back on the #haskell channel someone mentioned a similar issue, they also had
issues with fromInt which should likely be replaced with fromIntegral. 
Presumably the Hugs QuickCheck accidently relied on these non-standard aspects.

More information about the Haskell-Cafe mailing list