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
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-12 (11:02)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] Line number for index out of bounds
On Sun, Mar 12, 2006 at 02:17:37AM -0800, Martin Jambon wrote:
> The syntax uses "#" instead of ".", but you can change this, if you don't 
> want to change your program. There is also an option which allows you to 
> restore the native mode. It's all there:

Slightly clearer description here :-)

It'd be really nice to have this as the default behaviour of array and
string accesses ...  Since these are inlined, it seems like the only
penalty would be space for storing the location numbers.


Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology -
Team Notepad - intranets and extranets for business -