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
Toplevel.print_value
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-09-10 (13:31)
From: Andre Nathan <andre@d...>
Subject: Toplevel.print_value
Hello

Is it possible to use Toplevel's print_value function in a program
linked against toplevellib.cma?

The function has the following signature:

val print_value: Env.t -> Obj.t -> formatter -> Types.type_expr -> unit

I can't find out how to get a value of type Types.type_expr... Is there
any way user code can do this?

Thanks in advance,
Andre