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
Infinite loop when catching an exception
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-12-10 (08:52)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] Infinite loop when catching an exception
On Fri, 2004-12-10 at 19:21, Jean-Christophe Filliatre wrote:

> To  avoid  such pitfalls,  it  is convenient  to  use  an editor  with
> automatic indentation of  the code which is consistent  with the ocaml
> syntax, such as the Tuareg mode under Emacs. At some point, you become
> so  familiar with ocaml  syntax that  you don't  need it  anymore, but
> meanwhile it helps.

I have been using Ocaml for some time (but I'm a vi user and
my code is literate programmed so Tuareg wouldn't help).
And I STILL get caught by this problem regularly .. I suspect
it takes even longer to find once you have experience,
since you just don't expect that bug anymore (but it happens
occasionally anyway).

The best way to find this problem is post your code
to this list -- with experience you'll find the bug immediately
after pressing the Send button :)

John Skaller, mailto:skaller@users.sf.net
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language http://felix.sf.net