From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id CAA13097; Sat, 26 Oct 2002 02:11:55 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id CAA13043 for ; Sat, 26 Oct 2002 02:11:54 +0200 (MET DST) Received: from verdot.inria.fr (verdot.inria.fr [128.93.11.7]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g9Q0Br521644 for ; Sat, 26 Oct 2002 02:11:53 +0200 (MET DST) Received: (from ddr@localhost) by verdot.inria.fr (8.9.3/8.9.3) id CAA22204 for caml-list@inria.fr; Sat, 26 Oct 2002 02:11:53 +0200 Date: Sat, 26 Oct 2002 02:11:53 +0200 From: Daniel de Rauglaudre To: caml-list@inria.fr Subject: Re: [Caml-list] Camlp4: generating printers of types Message-ID: <20021026021153.A22164@verdot.inria.fr> References: <20021009151317.J1703@verdot.inria.fr> <3DB99981.A66E83A6@earthlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3DB99981.A66E83A6@earthlink.net>; from kenarose@earthlink.net on Fri, Oct 25, 2002 at 12:20:33PM -0700 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, On Fri, Oct 25, 2002 at 12:20:33PM -0700, Ken Rose wrote: > > http://caml.inria.fr/camlp4/tutorial.new/tutorial007.html#toc51 > > I'm very interested, but unfortunately it doesn't work in ocaml-3.06. I think that the only problem is that Pcaml.type_declaration is not defined. Is it that? In this case, if you don't want to update the current CVS version, you can use the trick I used in IoXML: let type_declaration : Grammar.Entry.e 'a = Obj.magic (Grammar.Entry.find Pcaml.str_item "type_declaration");; and replace "Pcaml.type_declaration" by "type_declaration". -- Daniel de RAUGLAUDRE http://cristal.inria.fr/~ddr/ ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners