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
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:
>   http://martin.jambon.free.fr/ocaml.html#bounds

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 - http://merjis.com
Team Notepad - intranets and extranets for business - http://team-notepad.com