Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Markus Mottl <mottl@miss.wu-wien.ac.at>
To: Brian Rogoff <bpr@best.com>
Cc: OCAML <caml-list@inria.fr>
Subject: Re: alternative module systems
Date: Fri, 18 Aug 2000 18:48:01 +0200	[thread overview]
Message-ID: <20000818184801.A7009@miss.wu-wien.ac.at> (raw)
In-Reply-To: <Pine.BSF.4.21.0008180845520.5793-100000@shell5.ba.best.com>; from bpr@best.com on Fri, Aug 18, 2000 at 09:36:39 -0700

> 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". 

It also took me a while to wind my brain around this concept. Given that
modules have some nice properties that do not hold for classes (objects),
being able to create them at runtime and even pass them around as values
looks quite promising. To my knowledge, the described approach is said to
be formally very clean.

> 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). 

Indeed, it looks as if one could switch "below the hud" without breaking
code, doesn't it?

Best regards,
Markus Mottl

-- 
Markus Mottl, mottl@miss.wu-wien.ac.at, http://miss.wu-wien.ac.at/~mottl



      reply	other threads:[~2000-08-20 16:58 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
2000-08-18 16:48   ` Markus Mottl [this message]

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=20000818184801.A7009@miss.wu-wien.ac.at \
    --to=mottl@miss.wu-wien.ac.at \
    --cc=bpr@best.com \
    --cc=caml-list@inria.fr \
    /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