Stephan Friedrichs skrev:
Emil Axelsson wrote:
[...]

The error comes from using QuickCheck 2, which happens to also use the operator (><). I can see two ways to solve the problem:

(1) Add "< 2" after "QuickCheck" in the Wired.cabal file.

(2) Add "hiding ((><))" after "import Test.QuickCheck" in Data/Hardware/Internal.hs

Emil,

my suggestion is: Please use alternative (2), at least if there are no further problems with quickcheck 2! Otherwise, depending on quickcheck <2 just introduces unnecessary package incompatibilities.

Hi Stephan,

Option (1) was only meant as a temporary solution for Cetin. It just occurred that the obvious solution to make both QC1 and QC2 users happy is to have an explicit import list rather than hiding (><) (there are no further problems with QC2). I'll do this until QC2 is standard in GHC.

/ Emil


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to