cvs commit: hugs98 Makefile RPM.mk hugs98/libraries/tools
duncan.coutts at worc.ox.ac.uk
Tue Sep 5 08:09:15 EDT 2006
On Tue, 2006-09-05 at 12:19 +0100, Ross Paterson wrote:
> On Tue, Sep 05, 2006 at 12:12:00PM +0100, Malcolm Wallace wrote:
> > > > > HaXml (no longer builds)
> > > >
> > > > In what way does HaXml fail to build for Hugs? Is it easily
> > > > fixable?
> > >
> > > ... and there's the famous Data.FiniteMap.
> > So does anyone have any objections if I go ahead and commit the
> > replacement (compatibility) implementation of Data.FiniteMap to the main
> > repository for packages/base?
> I'd rather see HaXml updated to use Data.Map, perhaps with a
> compatibility layer for older GHCs.
Using a compatibility layer is not that easy at the moment. There is a
feature which will likely go into some upcoming version of Cabal that
will make it easier to depend on different packages (eg a
compat-finitemap) depending on what packages versions we are building
against. For example you'd put something like the following in
the .cabal file:
configuration: package(base >= 2.0)
However since this feature is not available yet it's rather hard to add
a compatibility layer. Generating the .cabal file is a no-no.
More information about the Cvs-hugs