Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: -- (:)
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