[Haskell-cafe] Adding GLUT package to WinHugs

Ross Paterson ross at soi.city.ac.uk
Mon Oct 15 19:31:54 EDT 2007

On Mon, Oct 15, 2007 at 10:10:40PM +0100, Duncan Coutts wrote:
> What do you reckon we should do? We could change:
> #if __GLASGOW_HASKELL__ >= 603 || __HUGS__
> import Text.ParserCombinators.ReadP hiding (ReadP)
> import qualified Text.ParserCombinators.ReadP as ReadP
>  ...
> to drop the || __HUGS__ and have hugs always use the bundled H98 ReadP,
> or we can continue to use the non-H98 one that comes with hugs. This has
> the obvious downside that users need to know to run:
> runhugs -98 Setup.hs
> which is a bit unfortunate.

On the other hand, changing the ReadP in Cabal would leave the parsers
in Cabal incompatible with other ReadP parsers.

More information about the cabal-devel mailing list