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
Seeking exception source
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-11-08 (03:02)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] Seeking exception source

Have you tried that static analyser for exceptions?

On Tuesday 08 November 2005 02:13, skaller wrote:
> Any ideas how to do that? Perhaps a camlp4 thing to instrument
> marked functions?

If you can do this then it could also be used to implement my allocation 
profiling idea. I'm still learning camlp4 (I'll put up a web page on what 
I've done ASAP) and I'm not up to that yet, but I think it is entirely 
feasible. One problem would be the existence of many functions with the same 

> Although it isn't clear catching exceptions costs anything if none are
> thrown (other than code bloat)?

Non-tail recursion?

Dr Jon D Harrop, Flying Frog Consultancy Ltd.
Objective CAML for Scientists