On 7/23/05, Duncan Coutts <[EMAIL PROTECTED]> wrote: > On Fri, 2005-07-22 at 15:36 +0200, Sebastian Sylvan wrote: > > > Haskell is beautiful, but it does have its warts. A Haskell 2.0 could > > incorporate some non-backwards-compatible changes which would make > > things a bit nicer. > > There are tons of useful extensions in GHC which should be included. > > >From my perspective, someone who rarely uses the more exotic > > extensions, the two main warts is the module system (I would like to > > be able to "re-export modules qualified", so the user could import > > MyGraphicsLib and then have access to, say, Button.new and > > Window.close which would normally reside under MyGraphicsLib.Button > > and MyGraphicsLib.Window) > > This has been discussed on the libraries list once or twice with a rough > consensus but without any further detailed analysis to make sure it > really works. It doesn't look as though it's a backwards incompatible > change however which is nice.
Yes. I recall something along the lines of putting a "qualified" in the export list of MyGraphicsLib when re-exporting the Button and Window modules. Seems pretty simple and straightforward. /S -- Sebastian Sylvan +46(0)736-818655 UIN: 44640862 _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
