Re: Building GHC on Mac OS 10.2.1

2006-12-30 Thread Thorkil Naur
Hello, Sometimes, ghc complains about '#' for me when the C preprocessor has not been run and there is an unexpected #include or #define in the way. Also, as I read ifeq "$(ghc_ge_603)" "YES" # These modules are provided in GHC 6.3+ EXCLUDED_SRCS += \ System/Directory/Internals.hs ... e

Coverage Condition fails

2006-12-30 Thread Adrian Hey
Hello folks, Could somebody explain what a coverage condition is and what this error message means.. "Illegal instance declaration for 'GT (GT2 map1 map2) (k1,k2)' (the Coverage Condition fails for one of the functional dependencies) In the instance declaration for 'GT (GT2 map1 map2) (k1,k2)

Ticket 1031 workaround?

2006-12-30 Thread Adrian Hey
Hello folks, I seem to have hit this problem.. http://hackage.haskell.org/trac/ghc/ticket/1031 (I think, at least I'm getting a very similar incomprehensible error message :-) I tried using bang patterns instead of `seq` like this: > let a0_ = f a0 a in a0_ `seq` (# l,hl,a0_,r,hr #) becomes