Browse thread
camlp4 3.10: MLast.type_decl
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2007-04-30 (12:59) |
From: | Joel Reymont <joelr1@g...> |
Subject: | Re: [Caml-list] camlp4 3.10: MLast.type_decl |
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/