From: Richard J. <ri...@an...> - 2005-02-10 10:09:28
|
On Wed, Feb 09, 2005 at 10:10:03PM -0400, Juancarlo A?ez wrote: > > Why aren't there functions in the standard library to convert strings to > lists of characters and back? As others have said, these functions are not in the standard library. However, useful functions like these[1] are available in Extlib, which you can find here: http://sourceforge.net/projects/ocaml-lib/ and is also available as a binary package for various platforms such as Debian. It contains important functions such as String.map, String.replace_chars, String.slice, String.starts_with, String.ends_with, and many more. Rich. [1] Although embarrassingly, it appears, not these exact functions, which is why I've CC'd to ocaml-lib-devel list. To ocaml-lib-devel: we should provide implementations of http://caml.inria.fr/FAQ/FAQ_EXPERT-eng.html#strings -- Richard Jones, CTO Merjis Ltd. Merjis - web marketing and technology - http://merjis.com Team Notepad - intranets and extranets for business - http://team-notepad.com |