[Haskell-cafe] Updating the Haskell Standard

Sebastian Sylvan sebastian.sylvan at gmail.com
Sat Jul 23 05:07:31 EDT 2005


On 7/23/05, Duncan Coutts <duncan.coutts at worcester.oxford.ac.uk> 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


More information about the Haskell-Cafe mailing list