Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Joel Reymont <joelr1@gmail.com>
To: "Nicolas Pouillard" <nicolas.pouillard@gmail.com>
Cc: "Caml List" <caml-list@inria.fr>
Subject: Re: [Caml-list] camlp4 3.10: MLast.type_decl
Date: Mon, 30 Apr 2007 13:59:50 +0100	[thread overview]
Message-ID: <255FA5A4-FF6D-4360-9CBF-77DD6EE07B26@gmail.com> (raw)
In-Reply-To: <cd67f63a0704300547s1b6c2054u8fab5697e4e1b8fc@mail.gmail.com>

Nicolas,

On Apr 30, 2007, at 1:47 PM, Nicolas Pouillard wrote:

> MLast is the old module that is now replaced by Camlp4.PreCast.Ast

Just what I've been looking for.

module Ast = Struct.Camlp4Ast.Make Loc;

> In fact pa_sexp_conv.ml is not yet up to date for OCaml 3.10.

I'm trying to update it as a way of learning camlp4.

The issue is with the following...

val add_generator :
   string ->
   (MLast.type_decl -> (MLast.patt * MLast.expr) list *  
MLast.type_decl list)

I'm looking at various *Ast* files under Camlp4/Struct/ but I can't  
figure out the types for the above. Could you point me in the right  
direction?

	Thanks, Joel

--
http://wagerlabs.com/






  reply	other threads:[~2007-04-30 12:59 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 [this message]
2007-04-30 13:08     ` Nicolas Pouillard
2007-04-30 13:38       ` Joel Reymont
2007-04-30 13:41         ` 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=255FA5A4-FF6D-4360-9CBF-77DD6EE07B26@gmail.com \
    --to=joelr1@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=nicolas.pouillard@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