[Haskell-cafe] Is there a plan for HappS and ghc-6.10.1?

Don Stewart dons at galois.com
Sun Nov 9 14:58:04 EST 2008


hpacheco:
>    Hi all,
>    The HappS version on Hackage does not yet support ghc 6.10, since GADT
>    pattern matching and the Exception API have changed.
>    One sample error is:
>     src/HAppS/Data/Xml/Base.hs:281:23:
>        GADT pattern match with non-rigid result type `t1'
>          Solution: add a type signature
>    ...
>    Adding a type signature via an auxiliary function instead of a case
>    expression, the problem goes away.
>    readElementRigidity :: (Monad m,Xml t) => Rigidity m -> m ([Element],t) ->
>    Maybe  t
>    readElementRigidity Rigid m = ...
>    readElementRigidity Flexible m = ...
>    Is there a plan to update the version on Hackage to support ghc 6.10.1?
>    I don't know either if it may break backwards compatibility.

Check again. Lemmih updated HAppS to 6.10 today, and already it is in
Arch Linux :-)

-- Don


More information about the Haskell-Cafe mailing list