caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: William Harold Newman <william.newman@airmail.net>
To: caml-list@inria.fr
Subject: Re: [Caml-list] limits on mutual recursion and modules?
Date: Wed, 21 Nov 2001 22:40:28 -0600	[thread overview]
Message-ID: <20011121224028.A22464@rootless> (raw)
In-Reply-To: <Pine.BSF.4.10.10111220358320.12326-100000@bpr.best.vwh.net>; from bpr@bpr.best.vwh.net on Thu, Nov 22, 2001 at 04:27:24AM +0000

On Thu, Nov 22, 2001 at 04:27:24AM +0000, Brian Rogoff wrote:
> On Wed, 21 Nov 2001, William Harold Newman wrote:

> > for mutual recursion between classes and modules in OCaml. That doesn't 
> 
> You mean between classes and types here, of course. 

Yes.

> You use that same trick. It also means that you must make a polymorphic
> version of Set to participate in the recursion; the library Set won't do. 
> Check this out 
> 
> http://caml.inria.fr/archives/200010/msg00154.html

Thank you, that seems to be exactly what I was looking for.

> It's my guess that every frequent user of OCaml or SML bangs into this
> within their first 9 months of serious ML programming, and most likely
> long before that.

It might make a good entry in <http://caml.inria.fr/FAQ/FAQ_EXPERT-eng.html>.

-- 
William Harold Newman <william.newman@airmail.net>
"Furious activity is no substitute for understanding." -- H. H. Williams
PGP key fingerprint 85 CE 1C BA 79 8D 51 8C  B9 25 FB EE E0 C3 E5 7C
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


  reply	other threads:[~2001-11-22  5:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-22  1:53 William Harold Newman
2001-11-22  4:27 ` Brian Rogoff
2001-11-22  4:40   ` William Harold Newman [this message]
2001-11-29 20:04 Tom Hirschowitz

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=20011121224028.A22464@rootless \
    --to=william.newman@airmail.net \
    --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;
as well as URLs for NNTP newsgroup(s).