From: Alain Frisch <Alain.Frisch@ens.fr>
To: Christophe Raffalli <christophe.raffalli@univ-savoie.fr>
Cc: caml-list@pauillac.inria.fr
Subject: Re: [Caml-list] Conditional Modules
Date: Fri, 6 Aug 2004 09:53:49 +0200 (MET DST) [thread overview]
Message-ID: <Pine.SOL.4.44.0408060946040.3091-100000@clipper.ens.fr> (raw)
In-Reply-To: <4112582A.7020703@univ-savoie.fr>
On Thu, 5 Aug 2004, Christophe Raffalli wrote:
> Is there plan to have first class modules in OCaml (in other word merge
> record/structure and function/functor) ? If I understood well (I did not
> look myself) MoscowML has this.
AFAIK, MoscowML had packaged modules, which keeps the two levels (core /
module) stratified, but allows a module to be packaged in a value. In this
system, you can write functions from packaged modules to packaged modules,
but you cannot express type dependencies between the input and the output
type (equivalently: there is no polymorphism on types within packaged
signatures). So, there is still a need for a separate notion of functors.
-- Alain
-------------------
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
next prev parent reply other threads:[~2004-08-06 7:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-04 14:58 Ross Duncan
2004-08-04 16:02 ` Richard Jones
2004-08-04 16:29 ` Michel Mauny
2004-08-04 16:45 ` John Prevost
2004-08-04 17:22 ` Shivkumar Chandrasekaran
2004-08-05 11:23 ` Ross Duncan
2004-08-05 12:34 ` Alain Frisch
2004-08-05 15:10 ` Jean-Baptiste Rouquier
2004-08-05 15:54 ` Christophe Raffalli
2004-08-06 7:53 ` Alain Frisch [this message]
2004-08-04 17:23 ` henri dubois-ferriere
2004-08-04 17:24 ` james woodyatt
2004-08-04 18:01 ` John Prevost
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.SOL.4.44.0408060946040.3091-100000@clipper.ens.fr \
--to=alain.frisch@ens.fr \
--cc=caml-list@pauillac.inria.fr \
--cc=christophe.raffalli@univ-savoie.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