b4f0418c46
s 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) |
||
---|---|---|
.. | ||
patches | ||
buildlink3.mk | ||
DESCR | ||
distinfo | ||
Makefile | ||
PLIST |