Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Camlp4: generating printers of types
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] Camlp4: generating printers of types

On Fri, Oct 25, 2002 at 12:20:33PM -0700, Ken Rose wrote:

> >
> 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".

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: