simons:
> I have been trying to compile the docon package, which is
> available from <http://www.haskell.org/docon/>, but despite
> serious efforts, I failed. It appears that ghc goes into an
> infinite loop when compiling the module pol/factor/Pfact__.hs.
> The compiler doesn't issue any warnings or errors, but I just
> won't return.
> 
> When compiling the source code with ghc 6.0, everything works
> fine though, so I guess, this really is a bug in the current
> HEAD version.
> 
> To re-produce this error (on Unix), do as follows:
> 
>     wget http://haskell.org/docon/distrib/2.06/docon-2.06.zip
>     mkdir docon-test && cd docon-test
>     unzip -a ../docon-2.06.zip
>     cd docon/source/
>     mkdir export
>     make ghc=ghc-6.3 s=`pwd` obj

I was unable to compile this code with ghc 6.0.1. It is a TH syntax
issue, I'm guessing:

    pol/symmfunc/Sympol_.hs:254:
        Couldn't match `a -> b' against `[(a1, i)]'
            Expected type: a -> b
            Inferred type: [(a1, i)]
        Probable cause: `gather' is applied to too many arguments in the call
            (gather $[splice]reverse)
        In the first argument of `($)', namely `gather $[splice]reverse'
    make: *** [obj] Error 1

How did you get it to compile with 6.0?

-- Don
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to