Awesome. Then could you tell me what is the preferred api to modify strings?
Cheers, Doru > On Dec 20, 2015, at 10:03 AM, Marcus Denker <marcus.den...@inria.fr> wrote: > > >> On 20 Dec 2015, at 09:13, Clément Bera <bera.clem...@gmail.com> wrote: >> >> >> >> 2015-12-20 8:15 GMT+01:00 Marcus Denker <marcus.den...@inria.fr>: >> >> >> On Sat, Dec 19, 2015 at 9:24 PM, Tudor Girba <tu...@tudorgirba.com> wrote: >> Hi, >> >> Strings are supposed to be immutable, and that is why we do not support >> editing by default :). >> >> >> I do not think this is good... yes, it would be nice if *literal* strings >> *would* be immutable, but they are not. >> >> Actually, that is something I work on and that should be the case in the >> incoming months. All literals will be immutable by default, except if you >> explicitly ask the compiler to compile mutable literals. >> > > Very good! > > Marcus -- www.tudorgirba.com www.feenk.com "Quality cannot be an afterthought."