English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] camlp4 and manipulating types
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-07-04 (23:42)
From: Jonathan Roewen <jonathan.roewen@g...>
Subject: [Caml-list] camlp4 and manipulating types
> You also need to load q_Mlast.cmo.

Ah, thanks! :-)

It all seems to be working so far, although I'm wary of an upcoming
problem: I want the methods I generate to have particular types (at
the moment, they're polymorphic) which I will need to lookup from some

e.g. say I have some way to indicate that the type of a method called
url is to be 'option string', when my syntax extension sees it needs
to create the method url, where can I get the type info from?