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
Two camlp4 questions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-04-25 (14:54)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] Two camlp4 questions
On Fri, Apr 25, 2008 at 03:58:17PM +0200, Martin Jambon wrote:
> One possible hack is to add "when true" guards everywhere and one final 
> "| _ -> assert false" case.
> This disables completeness checking and turns off warnings, at your own 
> risk.

Nice, thanks.  In this case I don't want the exhaustiveness checks at
all so this works out fine for me.


Richard Jones
Red Hat