caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] fold missing in string/bytes
@ 2014-12-19  5:35 Jiten Pathy
  2014-12-19  7:48 ` David Allsopp
  0 siblings, 1 reply; 2+ messages in thread
From: Jiten Pathy @ 2014-12-19  5:35 UTC (permalink / raw)
  To: caml-list

Any rationale, why the stdlib doesn't have fold on string/bytes?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [Caml-list] fold missing in string/bytes
  2014-12-19  5:35 [Caml-list] fold missing in string/bytes Jiten Pathy
@ 2014-12-19  7:48 ` David Allsopp
  0 siblings, 0 replies; 2+ messages in thread
From: David Allsopp @ 2014-12-19  7:48 UTC (permalink / raw)
  To: caml-list

Jiten Pathy wrote:
> Any rationale, why the stdlib doesn't have fold on string/bytes?

The Standard Library has to remain maintainably small for Inria - a line has to be drawn somewhere. There are alternatives available, all of which have String folding:

ExtLib: http://ocaml-extlib.googlecode.com/svn/doc/apiref/ExtString.String.html
Batteries: http://ocaml-batteries-team.github.io/batteries-included/hdoc/BatString.html
Jane Street Core: https://ocaml.janestreet.com/ocaml-core/111.28.00/doc/core_kernel/#Core_string

ExtLib & Batteries are intended to be drop-in replacements for the Standard Library (so all existing standard library functions are included); Core is not.


David

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-19  7:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-19  5:35 [Caml-list] fold missing in string/bytes Jiten Pathy
2014-12-19  7:48 ` David Allsopp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).