caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Nicolas Pouillard" <nicolas.pouillard@gmail.com>
To: "Joel Reymont" <joelr1@gmail.com>
Cc: "Caml List" <caml-list@inria.fr>
Subject: Re: [Caml-list] AST transformation and scrapping boilerplate code
Date: Mon, 30 Apr 2007 11:47:02 +0200	[thread overview]
Message-ID: <cd67f63a0704300247l3e6a48fjafb631e5fe6a172f@mail.gmail.com> (raw)
In-Reply-To: <DF2FD7FE-700A-4052-B593-C37547B08AEE@gmail.com>

On 4/30/07, Joel Reymont <joelr1@gmail.com> wrote:
> Thank you Nicolas! This helps a lot!
>
> What needs to be done to make the generators handle polymorphic
> variants?

Adding just 28 lines in fact, so I've done it.

I technically can't commit this patch right now, but here it is:
http://pastie.caboo.se/57636

The example using polymorphic variants: http://pastie.caboo.se/57635

Regards,

-- 
Nicolas Pouillard


  reply	other threads:[~2007-04-30  9:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-29 14:40 Joel Reymont
2007-04-30  8:21 ` [Caml-list] " Nicolas Pouillard
2007-04-30  8:41   ` Joel Reymont
2007-04-30  9:47     ` Nicolas Pouillard [this message]
2007-04-30  8:53   ` Joel Reymont
2007-04-30 12:19   ` Joel Reymont
2007-04-30 12:42     ` Nicolas Pouillard
2007-04-30 12:46       ` Joel Reymont
2007-04-30 12:58         ` Nicolas Pouillard
2007-04-30 13:06           ` Joel Reymont
2007-04-30 13:09             ` Nicolas Pouillard

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=cd67f63a0704300247l3e6a48fjafb631e5fe6a172f@mail.gmail.com \
    --to=nicolas.pouillard@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=joelr1@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;
as well as URLs for NNTP newsgroup(s).