[QuickCheck] QuickCheck-2.8.2 does not compile

anakreonmejdi at gmail.com anakreonmejdi at gmail.com
Sun May 22 14:37:33 BST 2016


ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.10.3
cabal --version
cabal-install version 1.22.6.0
using version 1.22.4.0 of the Cabal library

Operating system:
Linux 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Regards

Nick Smallbone <nicsma at chalmers.se> writes:
> 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