From: Gabriel Scherer <gabriel.scherer@gmail.com>
To: caml users <caml-list@inria.fr>
Subject: [Caml-list] ANN: batteries 2.2.0
Date: Sun, 19 Jan 2014 19:22:31 +0100 [thread overview]
Message-ID: <CAPFanBGcut-vw+EyownoL9VgQPXNM7n4y6O5xT1Cur1YVCrHiQ@mail.gmail.com> (raw)
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.
reply other threads:[~2014-01-19 18:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPFanBGcut-vw+EyownoL9VgQPXNM7n4y6O5xT1Cur1YVCrHiQ@mail.gmail.com \
--to=gabriel.scherer@gmail.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox