Browse thread
RE: [Caml-list] Namespace proposal
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Michaël_Grünewald <michael-grunewald@w...> |
| Subject: | [Caml-list] Re: Namespace proposal |
Vitaly Lugovsky <vsl@ontil.ihep.su> writes: > On Thu, 15 Aug 2002, Gurr, David (MED, self) wrote: > > > My two cents worth: Please dont copy package ideas from > > languages that lack functors. And Java's package == > > directory idea is far from beloved by all. -D > > For me package is not a modules collection, but just > a way of multi-word module naming. It's not so easy to > give short and still adequate names to the modules, but > something like Db.Core.Storage looks much better then > Dbstorage, and Storage can still be accessed just as > "Storage" from modules of the same "package". Just a naming > way, nothing more. [...] You can have modules with a name Veryvery.LOng.But.self.ExPl4n4t0ry.N4m3 that can be hard to type and read, but by saying module Forshort = Veryvery.LOng.But.self.ExPl4n4t0ry.N4m3 module Storage = Db.Core.Storage you will have shorter names that can be hidden, by removing them in the signature file. -- Michaël Grünewald <michael-grunewald@wanadoo.fr> - RSA PGP Key ID: 0x20D90C12 ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners