Namespaces (was Re: GUI Library Task Force)

Hal Daume III hcd@andrew.cmu.edu
Wed, 10 Oct 2001 12:41:49 -0400 (EDT)


I think one important aspect of Java's java.foo.bar style has been
overlooked: the semantics.  sure, syntactivally, java.foo.bar and
java_foo_bar; they're basically the same.  the big issue (to me, at
least) is that the Java compiler knows how to interpret the "."s and
will use them to navigate directory structure.

This ability is one of the little things in Haskell that could be
"fixed" fairly easily (I can't see that it would break any existing
programs) and would make my Haskelling experience MUCH more plesant.

 - Hal

On Wed, 26 Sep 2001, Lennart Augustsson wrote:

> "S. Alexander Jacobson" wrote:
>
> > Great.  So that is something that goes into some library conventions
> > document.  Java has a convention that libraries should have reverse domain
> > name structure.  Is that how we should use _?
>
> Yes, I think that could be the way.  And in addition there should be some
> language libraries (just like Java has java.*).
>
>     -- Lennart
>
>
>
> _______________________________________________
> Haskell mailing list
> Haskell@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hal Daume III                                                  hal@cmu.edu
"arrest this man, he talks in maths"               www.andrew.cmu.edu/~hcd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~