Is there a plan for HappS and ghc-6.10.1?

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. Cheers, hugo -- www.di.uminho.pt/~hpacheco

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

yes, 0.9.3 is out and it has compiled ok.thanks :)
hugo
On Sun, Nov 9, 2008 at 7:58 PM, Don Stewart
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
-- www.di.uminho.pt/~hpacheco
participants (2)
-
Don Stewart
-
Hugo Pacheco