Version française
Home     About     Download     Resources     Contact us    
Browse thread
Strings
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] Strings
On Friday 03 April 2009 20:46:26 Paolo Donadeo wrote:
> > You clearly want both, but each with its own type and strings as
> > immutable. Individual character mutability is rarely needed in text
> > processing
>
> I can agree with you on this argument, but a question still remains:
>
> why should you ever do things like:
> > # s.[0] <- 'a';;

Exactly. I find that to be useful and not a source of errors.

-- 
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/?e