Browse thread
Line number for index out of bounds
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| 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 :-) http://martin.jambon.free.fr/pa_bounds/README 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. Rich. -- Richard Jones, CTO Merjis Ltd. Merjis - web marketing and technology - http://merjis.com Team Notepad - intranets and extranets for business - http://team-notepad.com