Skip to content

v2.10.0

Compare
Choose a tag to compare
@UnixJunkie UnixJunkie released this 19 Aug 07:44
· 329 commits to master since this release

v2.10.0 (minor release)

This minor release adds support for OCaml 4.08.0.

This release is compatible with OCaml 4.08.0, but it is not complete
with respect to the standard library of OCaml 4.08.0: this release saw
a lot of changes to the standard library, which have not yet been made
available in the corresponding Batteries module. This means that users
of OCaml 4.08.0 (and Batteries 2.10.0) will have access to these
functions, but users of older OCaml versions (and Batteries 2.10.0)
will not. If you are looking for this kind of backward-compatibility
of new functions, as provided by previous Batteries releases, we
recommend trying the 'stdcompat' library.

  • added LazyList.equal: ('a -> 'b -> bool) -> 'a t -> 'b t -> bool
    #811
    (Marshall Abrams, review by Gabriel Scherer)

  • added BatList.fold_while : ('acc -> 'a -> bool) -> ('acc -> 'a -> 'acc) ->
    'acc -> 'a list -> 'acc * 'a list
    #889
    (Francois Berenger, Thibault Suzanne)

  • fix BatNum.of_float_string on inputs between -1 and 0:
    "-0.5" or "-.5" would be interpreted as "0.5" or ".5".
    #886, #887
    (Gabriel Scherer, report by Marcel Hark)

  • added BatHashtbl.merge and merge_all
    #891
    (Cedric Cellier, Francois Berenger, Gabriel Scherer)