ocaml-containers
ocaml-containers copied to clipboard
A lightweight, modular standard library extension, string library, and interfaces to various libraries (unix, threads, etc.) BSD license.
- [x] add int16/32/64 - [ ] read int16/32/64 - [ ] qtest for the above (conditionally? or do we add the `bytes` functions manually instead of depending on 4.08...
The MONAD interface requires a type with arity 1 : `'a t`. This is fine for modules that have precisely that type arity. `Result` is not that way, instead having...
I wonder if it makes sense to start a meta-issue on this. - [x] #403 and #406
in the style following IntMap, with a generator of operations and a comparison with Buffer.t (compare `contents` after the series of operations)
seems like the trend is using `Syntax` (e.g in lwt), and it's more accurate than `Infix` for the new let operators.
I am confused by the current code. 1. Should this be `true` or `false`? Current, it returns `true`. ```ocaml let bv = CCBV.create ~size:3 true in CCBV.resize bv 1; CCBV.get...
Following [this discussion](https://github.com/c-cube/ocaml-containers/discussions/372) it makes sense to do the following changes: - `size` should more or less disappear in favor of just the array capacity - `equal`, etc. would ignore...
I wonder if `CCBV.fold_true` could earn its place in the library? I found it quite convenient when implementing search algorithms, but perhaps others would know other interesting uses. A generic...
in utop i get this: #require "containers.top";; CCHashtbl.pp has a wrong type for a printing function.
https://github.com/c-cube/ocaml-containers/blob/447df826f12a2da70f57531cee25190a3fabcc72/src/core/CCRandom.ml#L207 here an internal `__default_state` is created with a random seed, which is later used by default in the `run` functions. this default state is different from the one in...