From: "Nicolas Pouillard" <nicolas.pouillard@gmail.com>
To: "Joel Reymont" <joelr1@gmail.com>
Cc: "Caml List" <caml-list@inria.fr>
Subject: Re: [Caml-list] camlp4 3.10: MLast.type_decl
Date: Mon, 30 Apr 2007 15:41:49 +0200 [thread overview]
Message-ID: <cd67f63a0704300641p5ec2589ft23e2c34f59a2b059@mail.gmail.com> (raw)
In-Reply-To: <16E548F1-9A01-44F3-9BF0-4FCD903AF534@gmail.com>
On 4/30/07, Joel Reymont <joelr1@gmail.com> wrote:
>
> On Apr 30, 2007, at 2:08 PM, Nicolas Pouillard wrote:
>
> > Look at camlp4/Camlp4/Camlp4Ast.partial.ml for the AST.
> >
> > camlp4/Camlp4/Sig.ml contains almost all signatures.
>
> I understand the "give a man a fish" approach and much prefer to be
> taught fishing.
>
> Next question... Is this the right translation?
>
> (* Old *)
>
> val add_generator :
> string ->
> (MLast.type_decl -> (MLast.patt * MLast.expr) list *
> MLast.type_decl list)
> -> unit
>
> (* New *)
>
> val add_generator :
> string ->
> (ctyp -> (patt * expr) list * ctyp list)
> -> unit
>
Seems good.
--
Nicolas Pouillard
prev parent reply other threads:[~2007-04-30 13:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-30 12:26 Joel Reymont
2007-04-30 12:47 ` [Caml-list] " Nicolas Pouillard
2007-04-30 12:59 ` Joel Reymont
2007-04-30 13:08 ` Nicolas Pouillard
2007-04-30 13:38 ` Joel Reymont
2007-04-30 13:41 ` Nicolas Pouillard [this message]
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=cd67f63a0704300641p5ec2589ft23e2c34f59a2b059@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