cvs commit: HaXml Makefile

Ross Paterson ross@soi.city.ac.uk
Thu, 17 Apr 2003 23:46:30 +0100


On Wed, Apr 23, 2003 at 12:18:34PM +0100, Malcolm Wallace wrote:
> Ross Paterson <ross@soi.city.ac.uk> writes:
> [...]
> > - this package includes Text.PrettyPrint.HughesPJ, which overlaps with base
> >   (and seems to be an older version)
> 
> Again, for backward compatibility with ghc-5.02.x.  This
> pretty-printing module is removed by the configuration script if
> it detects the presence of a newer ghc.

OK, then could you

	echo Text.PrettyPrint.HughesPJ >HaXml/src/hugs/exclude

to achieve the same for Hugs?

> > - in Text/XML/HaXml/Validate.hs, you could remove the #ifdef
> >   __GLASGOW_HASKELL__ around the import FiniteMap -- Hugs has had the
> >   module for 4 years, and I guess Nhc has too.
> 
> nhc98 has only just adopted the Data.FiniteMap module, and never had
> the original FiniteMap.
> 
> Once the hierarchical libraries have been around for a while, I do
> intend to settle on the new standard namings, and eventually ditch
> the backward compatibility.  However, I think it would be slightly
> premature to go the whole way now.

Then I'd propose changing that #ifdef __GLASGOW_HASKELL__ to

	#if defined(__GLASGOW_HASKELL__) || defined(__HUGS__)