OCaml Stdlib, Containers, Batteries, Base and F# core functions comparisons

Comparisons (names/signatures) of the core functions used in:

  • OCaml Stdlib (v4.41.0)
  • Containers (v3.8)
  • Batteries (v3.5.1)
  • Base (v0.15.0)
  • F# (v6.0) as a bonus

Note:
F# provides an Array.Parallel module with some functions
(choose, collect, init, iter, iteri, map, mapi, partition)
which could be good candidates for OCaml 5.0.0…

4 Likes