Browse thread
[Caml-list] String.map => Question to the OCaml-team
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Jon Harrop <jdh30@c...> |
| Subject: | Re: [Caml-list] String.map => Question to the OCaml-team |
On Friday 09 April 2004 12:01 pm, Oliver Bandel wrote: > it's nice to have a String.iter, but more functional would > be to have a String.map function. Would that be: val map : (char -> char) -> string -> string or val map : (char -> 'a) -> string -> 'a list ? But yes, ironically, now that I return to coding I need exactly this function (the latter, actually). :) Cheers, Jon. ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners