On Mon, Dec 21, 2009 at 3:43 PM, Tom Tobin <[email protected]> wrote:
> This time the install died on HJScript:
> [ 2 of 26] Compiling HJScript.Monad Â ( src/HJScript/Monad.hs,
> dist/build/HJScript/Monad.o )
> Â ÂA pattern match on a GADT requires -XGADTs
> Â ÂIn the pattern: EmptyBlock
> Â ÂIn the definition of `mappend': mappend EmptyBlock b = b
> Â ÂIn the instance declaration for `Monoid (Block ())'
> cabal: Error: some packages failed to install:
> HJScript-0.4.5 failed during the building phase. The exception was:
> ExitFailure 1
> I have no idea what to do next, so I'll probably bring this particular
> issue up on the Happstack list next.
This one I can help with. You need to modify the .cabal file for
HJScript slightly. To do this:
cabal unpack HJScript
And then add 'GADTs' to the 'Extensions:' list.
Haskell-Cafe mailing list