From: Gabriel Kerneis <kerneis@enst.fr>
To: Jacques Le Normand <rathereasy@gmail.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Generalized algebraic datatypes
Date: Mon, 28 Apr 2008 08:50:19 +0200 [thread overview]
Message-ID: <20080428065019.GA17693@kerneis.info> (raw)
In-Reply-To: <f74178430804272235g47747b6j28921c17b039c0e0@mail.gmail.com>
On Mon, Apr 28, 2008 at 01:35:06AM -0400, Jacques Le Normand wrote:
> Does ocaml support Generalized Algebraic datatypes?
No.
> If not, are there any caml based compilers that support it?
Some pieces of software (e.g. Ocsigen), which need GADT, use (very
carefuly crafted) "black magic" (Obj.magic) to get things compiled.
You could probably do this in your "toy compiler", put you will loose
the benefit of Ocaml's type-checking.
Regards,
--
Gabriel Kerneis
next prev parent reply other threads:[~2008-04-28 6:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-28 5:35 Jacques Le Normand
2008-04-28 6:50 ` Gabriel Kerneis [this message]
2010-10-25 8:39 Generalized Algebraic Datatypes Jacques Le Normand
2010-10-25 9:44 ` [Caml-list] " bluestorm
2010-10-26 5:30 ` Jacques Le Normand
2010-10-27 21:07 ` Florian Hars
2010-10-25 10:17 Dario Teixeira
2010-10-29 14:32 Dario Teixeira
2010-10-29 15:03 ` Jacques Le Normand
2010-10-29 15:53 ` Jacques Le Normand
[not found] ` <129751088.61814.1288367649864.JavaMail.root@zmbs4.inria.fr>
2010-10-29 16:02 ` Xavier Leroy
2010-10-29 16:42 ` Dario Teixeira
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=20080428065019.GA17693@kerneis.info \
--to=kerneis@enst.fr \
--cc=caml-list@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