* [Caml-list] ANN: batteries 2.2.0
@ 2014-01-19 18:22 Gabriel Scherer
0 siblings, 0 replies; only message in thread
From: Gabriel Scherer @ 2014-01-19 18:22 UTC (permalink / raw)
To: caml users
Batteries (OCaml Batteries Included) is a community-developed overlay
over the "standard" library distributed with the compiler, that aims
to provide general-purpose data-structures and convenient functions.
The project follows a semantic versioning scheme; the new version is
backward-compatible with the previous releases 2.1.0 (July 2013) and
2.0.0 (January 2013). The lowest OCaml version certainly supported is
3.12.
The new release is available in OPAM, or as a tarball
https://forge.ocamlcore.org/frs/download.php/1363/batteries-2.2.tar.gz
https://github.com/ocaml-batteries-team/batteries-included/releases/tag/v2.2.0
or from the sources
https://github.com/ocaml-batteries-team/batteries-included
The online API documentation is at:
http://ocaml-batteries-team.github.io/batteries-included/hdoc2/
This new version saw increased commits from new contributors, which
did most of the work that is included in this release: François
Berenger (which also did a good share of work for the
previous release), Simon Cruanes, and Jacques-Pascal Deplaix. As you
can see, it is the right time for people with a name in the beginning
of the alphabet to contribute -- and others.
As always, the work in this release is split between some code
improvements and some new functions. Some highlights include:
- val split_opt: elt -> t -> t * elt option * t
on sets, as a generalization of stdlib's
split : elt -> t -> t * bool * t
(François Berenger)
- various cartesian_product functions, including one for Enum
accommodating infinite enumerations
(Simon Cruanes)
- kahan_sum functions for slower but numerically-accurate summation of
floats ( http://en.wikipedia.org/wiki/Kahan_summation_algorithm )
(Gabriel Scherer)
- val filteri : (int -> 'a -> bool) -> 'a list -> 'a list
val filteri_map : (int -> 'a -> 'b option) -> 'a list -> 'b list
(Jacques-Pascal Deplaix)
- val bsearch :
'a BatOrd.ord -> 'a array -> 'a ->
[ `At of int | `Just_after of int
| `All_lower | `All_bigger | `Empty ]
(Simon Cruanes)
Remarkably, there was only one bug fixed (by its reporter
Jonas Jensen) during this release circle.
With many thanks to Francois Berenger, Cedric Cellier, Simon Cruanes,
Jacques-Pascal Deplaix, David Fourchaux, Rudi Grinberg, Jonas Jensen,
Kensuke Matsuzaki, and Eric Norige.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-01-19 18:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-19 18:22 [Caml-list] ANN: batteries 2.2.0 Gabriel Scherer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox