[QuickCheck] QuickCheck-2.8.2 does not compile

Nick Smallbone nicsma at chalmers.se
Sun May 22 12:47:35 BST 2016


That's weird, it builds for me (on several versions of GHC, including
8.0.1). It seems the preprocessor is selecting the wrong version of
some Template Haskell code. What version of GHC are you using?
Anything unusual about your setup?

Nick

On Saturday 21 May, 2016 at 06:13 pm, Anakreontas Mentis wrote:
> Here is the error message cabal and ghc reported:
> [13 of 15] Compiling Test.QuickCheck.All ( Test/QuickCheck/All.hs, dist/dist-sandbox-e58b37f7/build/Test/QuickCheck/All.o )
> 
> Test/QuickCheck/All.hs:91:11:
>     Constructor ‘ClassOpI’ should have 3 arguments, but has been given 4
>     In the pattern: ClassOpI _ ty _ _
>     In an equation for ‘infoType’: infoType (ClassOpI _ ty _ _) = ty
> 
> I changed my project's dependency on QuickCheck-2.8.1 and it builds
> correctly.
> 
> Regards
> -- 
> 
> _______________________________________________
> QuickCheck mailing list
> QuickCheck at projects.haskell.org
> http://projects.haskell.org/cgi-bin/mailman/listinfo/quickcheck



More information about the QuickCheck mailing list