self-import

Simon Peyton-Jones simonpj at microsoft.com
Tue Jan 18 05:43:35 EST 2005


| And if it turns out we are in the mood to look at extending the
| inport/export/module syntax perhaps we could also consider the
qualified
| export idea posted a few weeks ago.
| 
| That was so that you could say:
| 
| import Graphics.UI.Gtk
| 
| and then use Button.setText (rather than buttonSetText) as $DEITY
| intended. Down with the moduleNamePrefix! :-)

How would the programmer express that intent?  In the export from module
X.Y.Button?  

Simon


More information about the Glasgow-haskell-users mailing list