On Mon, 10 Mar 2014, SF Markus Elfring wrote: > >> Would you like to suggest any references for class libraries which work in > >> OCaml > >> with popular data structures in a way I am used to from other programming > >> languages? > >> Is the "convenience" and software speed similar there? > > > > I have no idea what you are asking for. > > The programming language "OCaml" has got the property that values from > standard > data types are immutable. Now I am looking for a well-known OCaml class > library > which supports the modification of data structures like strings and lists in > place. I would prefer to reuse an existing one instead of developing another > variation for my experiments.
Why do you want to do this? There is a String.set function that allows you to modify a character of a string. For a list, if you need to modify an element then it should be a list of reference cells. But I think that in practice it would be strange for either operation to be necessary. julia _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
