nested modules proposal

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Feb 26 10:52:12 AEDT 1998


On 17-Feb-1998, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> > > 	Every module gets an implicit `:- import_module std' declaration,
> > > 	unless it contains an explicit `:- use_module std' declaration.
> > 
> > So then is there no way to be sure you're not using the standard library
> > (because you're using an alternative standard library instead)? 
> 
> That's right.  (Well, there's always `grep'.)
> Got a better suggestion?

Another point: someone recently pointed out on the Haskell mailing list
that providing more convenient syntax for using alternative standard
libraries could be a bad thing, because it might encourage language
divergence (i.e. every group using their own "standard" library).

-- 
Fergus Henderson <fjh at cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3         |     -- the last words of T. S. Garp.



More information about the developers mailing list