something akin to Java's "package" in libraries

Marcin 'Qrczak' Kowalczyk qrczak@knm.org.pl
Sun, 3 Mar 2002 00:39:33 +0000 (UTC)


Thu, 28 Feb 2002 17:22:20 -0000, Simon Marlow <simonmar@microsoft.com> pisze:

> However, I'd like to see if people really think that writing out the
> full module names is really a problem in practice - in my (limited)
> experience with the hierarchical libraries so far I don't mind
> writing out the full module names in import lists at all, and I
> even quite like to see the module names written out in full.

I agree.

> I must admit I don't like the idea of defaulting to importing
> X if <package>.X doesn't exist, I'd prefer the two cases to be
> syntactically distinct.  Perhaps the convention should be that '.X'
> means '<package>.X', and plain X is left alone.

If at all, it could be '..X' because '..' is already used in export
lists to mean "something should be filled in here, the compiler
knows what" and there were rough ideas for '..' replacing parts of
type signatures.

-- 
 __("<  Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^
QRCZAK