base
base copied to clipboard
Standard library for OCaml
It would be great if Base provided a `List.Non_empty` module for non-empty lists ```ocaml type 'a t = (::) of 'a * 'a list ```
`ocaml-base-compiler` version was updated in https://github.com/janestreet/base/commit/21579b5903c81be975591b0a9f12699be8380594. Since then, it looks like the [github builds](https://github.com/janestreet/base/actions/workflows/workflow.yml) have been failing with ``` [ERROR] No solution for base: * No agreement on the version...
ocaml/ocaml#13169 added a document type for error messages and this change makes base compatible with OCaml trunk. I'm not sure how `base` compatibility with OCaml versions is managed, but I...
``` #=== ERROR while compiling base.v0.16.3 =======================================# # context 2.2.0~beta3~dev | linux/arm64 | ocaml.5.1.1 | https://opam.ocaml.org#2b6e600e # path ~/.opam/default-clang/.opam-switch/build/base.v0.16.3 # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p base -j 7 #...
I noticed some inputs for which `Base.Int.hash` returns negative values (`v0.17.1`). I was surprised and searched a bit in the doc comments. In particular, I found this in `hashable_intf.ml`: ```ocaml...