Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: David Monniaux <monniaux@csl.sri.com>
To: stodghil@cs.cornell.edu
Cc: caml-list@pauillac.inria.fr
Subject: Re: Managing module names
Date: Tue, 22 Jul 1997 16:45:26 -0700 (PDT)	[thread overview]
Message-ID: <199707222345.QAA07214@tulip.csl.sri.com> (raw)
In-Reply-To: <mld8obtbiu.fsf@mario.cs.cornell.edu> (message from Paul Stodghill on 22 Jul 1997 10:19:21 -0400)

[En Francais: pourquoi ne pas profiter du systeme de fichiers pour
rendre plus souple l'usage de la hierarchie de modules?]

Concerning the module namespace:
as far as I know, Java uses some mapping of the namespace onto the
filesystem, allowing easy filing of libraries.

Caml has a hierarchized modules system, but only allows toplevel
modules to be mapped into files.

Would it be possible to make up some scheme that would to things like:
/graphics/blackwhite/main -> Graphics.Blackwhite.Main ?

Or, better: would it be interesting according to other users?

-- 
David Monniaux, graduate student from ENS Lyon, France
Now at: Computer science laboratory  SRI International
        Formal methods group         Menlo Park, CA, US




  reply	other threads:[~1997-07-23  7:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-22 14:19 Paul Stodghill
1997-07-22 23:45 ` David Monniaux [this message]
1997-07-23 12:29   ` Paul Stodghill
1997-07-24 14:36   ` Judicael Courant
1997-07-24  5:21 Frank Christoph
1997-07-25 13:56 ` Fabrice Le Fessant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199707222345.QAA07214@tulip.csl.sri.com \
    --to=monniaux@csl.sri.com \
    --cc=caml-list@pauillac.inria.fr \
    --cc=stodghil@cs.cornell.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox