[Haskell-cafe] portable arrow instances

Conal Elliott conal at conal.net
Wed Nov 19 21:07:34 EST 2008


Hi Wolfgang,

I use CPP to manage such differences between 6.8, 6.9, and 6.10.  As an
example, see
http://hackage.haskell.org/packages/archive/TypeCompose/latest/doc/html/src/Control-Compose.html.

Regards, - Conal

On Tue, Nov 18, 2008 at 6:01 AM, Wolfgang Jeltsch <
g9ks157k at acme.softbase.org> wrote:

> Hello,
>
> how do I make a library work with both GHC 6.8 and GHC 6.10?  According to
> <http://www.haskell.org/haskellwiki/Upgrading_packages#Arrow_instances>, I
> should change all my Arrow instances but then they don't work with GHC 6.8
> anymore, do they?  Or is the solution to force GHC 6.8 users to use
> base-4.0.0.0?
>
> Best wishes,
> Wolfgang
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20081119/25df0e8c/attachment.htm


More information about the Haskell-Cafe mailing list