problems with export declarations in hugs nov 2002

Ross Paterson ross at soi.city.ac.uk
Wed Oct 1 01:50:21 EDT 2003


On Sun, Sep 14, 2003 at 11:11:24PM +0200, Andrew Frank wrote:
> i am moving (under windows) from hugs nov 99 to hugs nov 02. i observe the
> following difference:
> 
> i understand that for classes and data types, an export of the form X (..)
> exports the class/data type with all the methods/constructors in scope
> (report page 64). This seems not to work
> 
> module A (Eq (..), Bool (..)) where			-- produces an error in module b (not
> under hugs nov99)
> --module A (Eq ((==)), Bool (False)) where		-- works (but should not be
> necessary)
> 
> import Prelude (Eq (..), Bool (..))

This is also a bug in the Nov02 release, already fixed in the
development version.


More information about the Hugs-Bugs mailing list