From: Francois BERENGER <berenger@bioreg.kyushu-u.ac.jp>
To: caml-list@inria.fr
Subject: [Caml-list] [ANN] release of batteries-2.7.0
Date: Fri, 18 Aug 2017 09:28:19 +0900 [thread overview]
Message-ID: <4bc9ca24-5c60-3d09-78bb-ffd4e13fe896@bioreg.kyushu-u.ac.jp> (raw)
Dear OCaml users,
We are pleased to announce the 2.7.0 release of
OCaml batteries-included.
Batteries Included is a community-maintained standard library
extension, with a focus on performance, stability and compatibility.
Bug reports, pull requests and user feedback are warmly welcome,
see the project page at
https://github.com/ocaml-batteries-team/batteries-included/
The library's API documentation can be found at:
http://ocaml-batteries-team.github.io/batteries-included/hdoc2/
Batteries 2.7.0 is a minor release, compatible with OCaml 4.05.0.
As usual, Batteries is compatible with older OCaml releases as well
(until OCaml-3.12.1), and provides back-ported
versions of most standard library functions made available recently.
After an 'opam update' your will be able to do an
'opam upgrade batteries' an enjoy this new release.
Many thanks to the contributors to this release:
Francois Berenger
Tej Chajed
Varun Gandhi
Clément Pit-Claudel
Gabriel Scherer
Thibault Suzanne
Anton Yabchinskiy
The detailed changelog follows:
---
## v2.7.0 (minor release)
This minor release is the first to support OCaml 4.05.0. As with
previous OCaml versions, we backported new 4.05.0 convenience function
from the compiler stdlib, allowing Batteries user to use them with
older OCaml versions, and thus write backward-compatible code. In
particular, the new *_opt functions returning option values instead of
exceptions are all backported.
- BatNum: fix of_float_string to handle negative numbers properly
#780
(Anton Yabchinskiy)
- added BatArray.min_max
#757
(Francois Berenger)
- added a Label module to BatVect
#763
(Varun Gandhi, review by Francois Berenger, Gabriel Scherer, Thibault
Suzanne)
- fix documentation of BatVect.insert to match (correct) implementation
#766, #767
(Gabriel Scherer, report by Varun Gandhi)
- avoid using exceptions for internal control-flow
#768, #769
This purely internal change should improve performances when using
js_of_ocaml, which generates much slower code for local exceptions
raising/catching than the native OCaml backend.
Internal exceptions (trough the BatReturn label) have been removed
from the modules BatString, BatSubstring and BatVect.
(Gabriel Scherer, request and review by Clément Pit-Claudel)
- added `BatVect.find_opt : ('a -> bool) -> 'a t -> 'a option`
and BatVect.Make.find_opt
#769
(Gabriel Scherer)
- Documents exceptions for List.(min, max)
#770
(Varun Gandhi)
- BatText: bugfixes in `rindex{,_from}` and `rcontains_from`
#775
(Gabriel Scherer)
- Support for the new OCaml release 4.05
the `*_opt` functions and List.compare_lengths, compare_length_with
are also backported to older OCaml releases, so code using them from
Batteries should be backwards-compatible
#777, #779
(Tej Chajed, Gabriel Scherer)
---
Best regards,
The batteries maintainers.
reply other threads:[~2017-08-18 0:28 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=4bc9ca24-5c60-3d09-78bb-ffd4e13fe896@bioreg.kyushu-u.ac.jp \
--to=berenger@bioreg.kyushu-u.ac.jp \
--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