From: Brian Rogoff <bpr@best.com>
To: Markus Mottl <mottl@miss.wu-wien.ac.at>
Cc: OCAML <caml-list@inria.fr>
Subject: Re: alternative module systems
Date: Fri, 18 Aug 2000 09:36:39 -0700 (PDT) [thread overview]
Message-ID: <Pine.BSF.4.21.0008180845520.5793-100000@shell5.ba.best.com> (raw)
In-Reply-To: <20000814171709.A28856@miss.wu-wien.ac.at>
On Mon, 14 Aug 2000, Markus Mottl wrote:
> Hello,
>
> having just looked at a few examples of the new module system as
> implemented by Claudio Russo in Moscow ML, I wonder whether people at INRIA
> have already considered it?
>
> It supports higher order functors, mutually recursive modules, even first
> class modules. The module examples in the Moscow ML distribution also
> demonstrate the new capabilites using the bootstrapping methods explained
> in Okasaki's book on "Purely Functional Datastructures". This is really
> neat stuff!
Yes it is. I wonder what else those features will enable. In particular,
the use of first class structures to configure a system at run
time looks really useful to me. This is one of those things I'd normally
be disposed towards doing with classes. I find it disturbing though, since
my mental model of modules is that they are "second class".
Also, there is the age old (in web years :) desire to have mutually
recursive types which span module boundaries, and it is possible in this
system. I guess there have been papers describing other solutions, but
a having a real implementation is a win.
> I have no idea whether there are any caveats to this solution, but it looks
> pretty general. Any comments whether something similar could be implemented
> in OCaml? As it seems, the solution is a true superset of the previous
> module system used in SML.
It's a superset of the OCaml module system too, at least that part that is
comparable with SML (obviously SML doesn't have classes and such).
-- Brian
next prev parent reply other threads:[~2000-08-20 16:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-14 15:17 Markus Mottl
2000-08-18 16:36 ` Brian Rogoff [this message]
2000-08-18 16:48 ` Markus Mottl
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=Pine.BSF.4.21.0008180845520.5793-100000@shell5.ba.best.com \
--to=bpr@best.com \
--cc=caml-list@inria.fr \
--cc=mottl@miss.wu-wien.ac.at \
/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