
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

On Tue, Nov 18, 2008 at 03:01:00PM +0100, Wolfgang Jeltsch wrote:
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?
GHC 6.8 users can't use base-4. I think it's either two versions or cpp.

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/.... Regards, - Conal On Tue, Nov 18, 2008 at 6:01 AM, Wolfgang Jeltsch < g9ks157k@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@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Could you add this info/link to the upgrading page? http://www.haskell.org/haskellwiki/Upgrading_packages#Arrow_instances>, Using social/community processes to parallelise the job of finding all the upgrade routes -- I like it :-) -- Don conal:
Hi Wolfgang,
I use CPP to manage such differences between 6.8, 6.9, and 6.10. As an example, see [1]http://hackage.haskell.org/packages/archive/TypeCompose/latest/doc/html/src/... .
Regards, - Conal
On Tue, Nov 18, 2008 at 6:01 AM, Wolfgang Jeltsch <[2]g9ks157k@acme.softbase.org> wrote:
Hello,
how do I make a library work with both GHC 6.8 and GHC 6.10? According to <[3]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 [4]Haskell-Cafe@haskell.org [5]http://www.haskell.org/mailman/listinfo/haskell-cafe
References
Visible links 1. http://hackage.haskell.org/packages/archive/TypeCompose/latest/doc/html/src/... 2. mailto:g9ks157k@acme.softbase.org 3. http://www.haskell.org/haskellwiki/Upgrading_packages#Arrow_instances 4. mailto:Haskell-Cafe@haskell.org 5. http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Done! Thanks for the suggestion. - Conal
On Wed, Nov 19, 2008 at 9:43 PM, Don Stewart
Could you add this info/link to the upgrading page?
http://www.haskell.org/haskellwiki/Upgrading_packages#Arrow_instances>,
Using social/community processes to parallelise the job of finding all the upgrade routes -- I like it :-)
-- Don
conal:
Hi Wolfgang,
I use CPP to manage such differences between 6.8, 6.9, and 6.10. As an example, see [1] http://hackage.haskell.org/packages/archive/TypeCompose/latest/doc/html/src/... .
Regards, - Conal
On Tue, Nov 18, 2008 at 6:01 AM, Wolfgang Jeltsch <[2]g9ks157k@acme.softbase.org> wrote:
Hello,
how do I make a library work with both GHC 6.8 and GHC 6.10? According to <[3] 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 [4]Haskell-Cafe@haskell.org [5]http://www.haskell.org/mailman/listinfo/haskell-cafe
References
Visible links 1. http://hackage.haskell.org/packages/archive/TypeCompose/latest/doc/html/src/... 2. mailto:g9ks157k@acme.softbase.org 3. http://www.haskell.org/haskellwiki/Upgrading_packages#Arrow_instances 4. mailto:Haskell-Cafe@haskell.org 5. http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (4)
-
Conal Elliott
-
Don Stewart
-
Ross Paterson
-
Wolfgang Jeltsch