caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Xavier Leroy <xavier.leroy@inria.fr>
To: Henri DF <henri.dubois-ferriere@epfl.ch>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] mutually referencing compilation units
Date: Tue, 17 Sep 2002 14:32:28 +0200	[thread overview]
Message-ID: <20020917143228.A28138@pauillac.inria.fr> (raw)
In-Reply-To: <Pine.LNX.4.33.0209152206510.29061-100000@lcavpc19.epfl.ch>; from henridf@lcavsun1.epfl.ch on Sun, Sep 15, 2002 at 10:15:10PM +0200

> Is the fact that two mutually referencing units can't be compiled
> supposed to be a Good Thing?

No, it is acknowledged as an unfortunate limitation and an annoyance
to the programmer.  However, there are deep semantical and
type-theoretical reasons that make it hard to allow cross-module
recursion in ML.  This is actually a research area that is still
largely open.

> It seems to be a consequence of the fact that
> order of .cmo's is relevant

Actually, it's the other way around: the order of .cmo's is relevant
because the ML module system supports only sequential / nonrecursive
definitions of modules, but not parallel / recursive module
definitions.

- Xavier Leroy
-------------------
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


  parent reply	other threads:[~2002-09-17 12:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-15 20:15 Henri Dubois-Ferriere
2002-09-16  3:44 ` [Caml-list] function polymorphic in number of arguments? Quetzalcoatl Bradley
2002-09-16 12:19   ` Francois Thomasset
2002-09-16 12:24     ` Francois Thomasset
2002-09-17 12:32 ` Xavier Leroy [this message]
2002-09-19  3:09   ` [Caml-list] mutually referencing compilation units John Max Skaller
2002-09-19  5:09     ` [Caml-list] ocamlmktop linking on Darwin Lex Stein

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=20020917143228.A28138@pauillac.inria.fr \
    --to=xavier.leroy@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=henri.dubois-ferriere@epfl.ch \
    /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;
as well as URLs for NNTP newsgroup(s).