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
Array 4 MB size limit
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-05-25 (18:44)
From: Tom <tom.primozic@g...>
Subject: Re: [Caml-list] Re: immutable strings (Re: Array 4 MB size limit)
On 25/05/06, Aleksey Nogin <> wrote:
> On 25.05.2006 04:18, Brian Hurt wrote:
> > Changing this behavior in Ocaml
> > would break huge amounts of code (including some of my code).
> It is obvious that at this point changing the default behavior would not
> be possible. However, adding the new "immutable strings" type would
> definitely be great and adding a compiler flag that would turn all
> string constants, "^", etc in a given module into immutable string
> operations would be nice as well and would not break any existing code.

But why don't you add such a type yourself?