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
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-04-03 (14:39)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] Strings
On Friday 03 April 2009 15:18:51 Ashish Agarwal wrote:
> > I found immutable strings to be a PITA
> in what way? 

Just because my OCaml programs were mutating strings and translating that into 
F# is non-trivial if the string is shared or big. In essence, I've always 
used OCaml's strings as a more efficient byte array. In fact, the best 
translation to F# is often to use byte arrays as a replacement for strings.

Dr Jon Harrop, Flying Frog Consultancy Ltd.