From: Christophe TROESTLER <Christophe.Troestler+ocaml@umh.ac.be>
To: rathereasy@gmail.com
Cc: OCaml Mailing List <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] polymorphic recursion
Date: Tue, 13 May 2008 00:16:25 +0200 (CEST) [thread overview]
Message-ID: <20080513.001625.862190106975737597.Christophe.Troestler+ocaml@umh.ac.be> (raw)
In-Reply-To: <f74178430805121455h3b1216b6ga3f6eee900b2b458@mail.gmail.com>
On Mon, 12 May 2008 17:55:40 -0400, Jacques Le Normand wrote:
>
> does ocaml support polymorphic recursion and, if so, what's the syntax?
Yes. There are a couple of ways to make it work, using polymorphic
records or recursive modules. You should check the archives of this
list for examples:
http://groups.google.com/groups/dir?q=fa.caml
Cheers,
ChriS
next prev parent reply other threads:[~2008-05-12 22:16 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-12 21:55 Jacques Le Normand
2008-05-12 22:16 ` Christophe TROESTLER [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-04-03 16:59 Polymorphic recursion Loup Vaillant
2007-04-03 17:20 ` [Caml-list] " Jeremy Yallop
2007-04-04 5:27 ` Alain Frisch
2007-04-04 12:54 ` Loup Vaillant
2007-04-03 17:35 ` Till Varoquaux
2007-04-03 20:00 ` brogoff
2007-04-04 1:27 ` skaller
2007-04-04 1:40 ` skaller
2007-04-04 13:49 ` Roland Zumkeller
2007-04-04 15:13 ` Alain Frisch
2007-04-04 15:20 ` Alain Frisch
2007-04-04 16:45 ` Roland Zumkeller
2007-04-04 19:58 ` Alain Frisch
2007-04-04 20:13 ` brogoff
2007-04-05 9:33 ` Roland Zumkeller
2007-04-05 9:54 ` Alain Frisch
2007-04-05 10:07 ` Daniel de Rauglaudre
2007-04-05 9:46 ` Francois Maurel
2007-04-04 23:36 ` Brian Hurt
2007-04-05 8:17 ` Loup Vaillant
2003-08-24 18:01 Lukasz Stafiniak
2003-08-25 0:30 ` Jacques Garrigue
2003-08-25 0:43 ` Jacques Garrigue
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=20080513.001625.862190106975737597.Christophe.Troestler+ocaml@umh.ac.be \
--to=christophe.troestler+ocaml@umh.ac.be \
--cc=caml-list@yquem.inria.fr \
--cc=rathereasy@gmail.com \
/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