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
Re: [Caml-list] Line number for index out of bounds
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-03-06 (13:11)
From: Jonathan Harrop <jdh30@j...>
Subject: Re: [Caml-list] Line number for index out of bounds
On Mon Mar  6 11:14 , Richard Jones <> sent:
>* Surround every possible array index with a try ... with expression

Perhaps you could write a camlp4 macro to wrap uses of a.(i) in a try ... with block that logs the 
line number?