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] suggestions: add a warning capability
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-01-10 (12:45)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] suggestions: add a warning capability

On Fri, Jan 10, 2003 at 12:03:16PM +0100, Basile STARYNKEVITCH wrote:
> A last tiny suggestion to Daniel de Rauglaudre - document a way to
> output error or warning messages in the usual format - I mean just
> provide a function output_error location message in Camlp4 library...
> (It is probably there already but I didn't notice it)

Pcaml.warning. It is a "hook" (or a "plugin" if you prefer), i.e. a
reference. It is commented in pcaml.mli as "for system use", but I
can add an "official" version, not being a reference, calling that

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