Re: problems with export declarations in hugs nov 2002

Ross Paterson <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.