Thicket thicket
ocaml
REPOS 27
W02.2026 · 5–11 Jan

All repository summaries

11 active · 16 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Features

  • Eio (PR #827, open): proposes waking all readers and writers on POLLNVAL to enable writing to block devices on macOS. Reviewers question whether the approach spins at 100% CPU and whether select would be a safer alternative.

  • Eio (PR #823, open): proposes Eio_unix.Stdenv.with_env for updating individual fields of an environment record without rebuilding the whole value. Maintainers suggest override or like as alternative names; a side discussion revisits whether Eio resources should return to objects post-1.0.

Fixes

  • Eio (issue #826, closed): inherit_fds in Fork_action does not preserve user-specified FD ordering; this is intended behaviour. Shell-style redirection (e.g. cat 42<dune <&42) must be layered on top by the caller.

ocaml/dune

Permalink

Releases

Dune 3.21.0~alpha5: Released 2026-01-05. Adds (dir ..) on packages, dune promotion show, (lang rocq), unused-libs alias, DUNE_ROOT, and dune runtest/dune fmt in watch mode; breaking: lang dune 3.21 no longer changes default compiler warnings. Release notes

Fixes

Dune pin-depends: Merged fix for multiple pin-depends on a single local package. Previously errored with "local package cannot be pinned"; now unifies identical constraints. #13232, #12990

Features

Dune --target-exec: Open PR targeting 3.22. Adds --target-exec <toolchain>=<wrapper> and per-target target_exec in dune-workspace for transparent cross-compilation via host wrappers. #13112

Dune action tracing: Open PR introducing the dune_action_trace library. Actions emit events to DUNE_ACTION_TRACE_DIR; a companion dune trace subcommand reads them, replacing _build/log and --verbose. #13267, #13183

Dune Odoc v3 rules: Open PR rewriting @doc and @doc-new into unified rules. Adds @doc-full, @doc-json-full, hierarchical documentation, a global sidebar, and ocaml.org cross-links. #13295

Dune relocatable compiler: Open issue tracking integration of the OCaml 5.5 relocatable compiler into package management. Eliminates toolchain rebuilds by treating the compiler as a cacheable package. #13229

Dune melange single-context: Open PR (created 2026-01-11) toward the single-context universal RFC. Tracks compilation context type per OCaml/Melange mode; subsequent patches will split module sets. #13274

Dune progress display: Open PR changing the build status line to show done/total counters, running jobs, queued count, and elapsed time. Replaces the percentage-based format. #13263

ocaml/merlin

Permalink

Fixes

Merlin: PR #2023 proposes stopping signature help from iterating over parameters after completion. Opened by Lucccyo on 2026-01-09; not yet merged.

ocaml/ocaml

Permalink

Features

  • OCaml stdlib (trunk): adds Int.popcount, Int.nlz, Int.ntz, Int.nls, Int.unsigned_bitsize, and Int.signed_bitsize to Int, Int32, Int64, and Nativeint. Merged by Xavier Leroy. #14433
  • OCaml stdlib (trunk): adds Int.fdiv, Int.cdiv, Int.ediv, and Int.emod (floor, ceil, Euclidean division and remainder) to Int, Int32, Int64, and Nativeint. Merged by Xavier Leroy. #14432
  • OCaml stdlib (trunk): adds String.find_first, String.find_last, String.find_first_index, String.find_last_index, String.find_all, and String.rfind_all as search primitives. Merged by David Bünzli. #14381
  • OCaml compiler (trunk): signature-mismatch errors now include "Hint: X is a close match" suggestions when an implementation name is a near-spelling of a required name. Merged by Gabriel Scherer. #14330
  • ocamllex (trunk): open PR adds a warning when a rule is not exhaustive, printing an example of nonmatching input and a suggested fix. #14448
  • OCaml (proposal): open PR introduces a [@@unstable] attribute and [@@@unstable_feature] top-level attribute to gate experimental APIs behind a -Z flag or local opt-in. #14430

Fixes

  • OCaml Unix (Windows): open PR replaces GetTempFileName-based path generation in Unix.socketpair with PID-plus-counter naming to eliminate racy address-in-use errors under concurrent domains. #14461
  • OCaml compiler (trunk): Untypeast now correctly round-trips qualified patterns M.{ x }, avoiding spurious "Unbound record field" errors. Merged by Benjamin Clement. #14457

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp (PR #1581): RFC proposing OCAMLLSP_PROJECT_BUILD_SYSTEM, OCAMLLSP_PROJECT_ROOT, and OCAMLLSP_PROJECT_ROOT_MARKERS environment variables to configure an arbitrary merlin config server. Falls back to current behaviour when unset. Link

  • ocaml-lsp (PR #1580): Applies ocamlformat to signature_help output for improved readability of long signatures. Still open; discussion ongoing about offset handling. Link

Fixes

  • ocaml-lsp v1.23.0 (issue #1560): textDocument/documentSymbol fails when a function with an optional argument is referenced in another function body. Selection range falls outside full range. Link

  • ocaml-lsp v1.23.0 (issue #1561): Code lenses on internal let-bindings clutter the editor. A comment references #1567 as a fix; issue remains open. Link

ocaml/ocaml.org

Permalink

Features

  • OCaml Cookbook: adds a "Measure Elapsed Time" recipe using Unix.gettimeofday (#3447, open).
  • OCaml Planet: adds Chris Armstrong's blog to the aggregated feed (#3428, merged).
  • OCaml.org: adds FUN OCaml 2025 conference data (#3411, merged).

Fixes

  • Platform releases scraper: fixes a bug where generated data files were not committed, so new OCaml Platform releases went undetected (#3443, merged).
  • Platform releases data: backfills missing entries for dune 3.21.0 alphas, mdx 2.5.1, merlin v5.6.1-504, ocaml-lsp 1.25.0, ocamlformat 0.28.0, opam 2.5.0, opam-publish 2.7.1, and ppxlib 0.37.0 (#3444, open).
  • OCaml.org security page: corrects the capitalisation of "OCaml" in security.md (#3440, merged).

ocaml/odoc

Permalink

Fixes

  • odoc: Open issue #1397 reports a crash (Failure("Not_found: A/8")) when a module type signature contains a redundant with type equality (e.g. include S with type A.B.t = t and type B.t = t where B aliases A.B). The workaround is to remove the redundant equality. No fix merged in this interval.

ocaml/opam

Permalink

Features

  • opam (PR #6841, open): documents the existing raw-field syntax opam list --columns=name,license: for printing arbitrary package fields. The PR is not yet merged; the syntax already works in current releases. PR

Fixes

  • opam (issue #6843, open): the builtin-0install solver resolves both i686 and x86_64 mingw variants (e.g. conf-mingw-w64-pcre2-i686 alongside conf-mingw-w64-pcre2-x86_64), installing extra system packages. Setting OPAMEXTERNALSOLVER=builtin-mccs+glpk avoids the duplicate resolution. Issue

ocaml/opam-repository

Permalink

Features

  • Dune 3.21.0~alpha5: adds (lang rocq) build mode, DUNE_ROOT env var, unused-libs alias, dune promotion show, and a (files) stanza. Open PR. #29189
  • Lwt 6.0.0: major version update for the promises and event-driven I/O library. Open PR. #29184
  • Qdrant 0.1.0: new pure OCaml REST client for the Qdrant vector database, with async I/O via Lwt. Merged. #29194
  • rfsm 2.3: new package for describing and simulating StateChart-like state diagrams. Merged. #29204

Fixes

  • QuickJS 0.4.2: renames RegExp.lastIndex to RegExp.last_index and RegExp.setLastIndex to RegExp.set_last_index. Merged. #29200
  • Expr 0.7.0: breaking change—name bindings now accept float, boolean, or string values instead of float only. Merged. #29198

Compatibility and Releases

  • OCaml 5.5 (Relocatable OCaml): updates packaging to use --with-additional-stublibsdir, removes the ocaml-config dependency, and fixes relative path generation. Open PR. #29085
  • opam-repository CI: open issue requesting removal of dune runtest from packaging CI to reduce maintainer burden on unfamiliar test suites. Ongoing discussion. #29166

oxcaml/merlin

Permalink

Fixes

  • Merlin (PR #204, open): proposes a fix so that signature_help returns a response when the called function accepts only labelled arguments. Opened by Lucccyo on 2026-01-09; not yet merged. Link

oxcaml/oxcaml

Permalink

Features

OxCaml preemption: Open PR adds native, effects-based preemption; a domain can be preempted at the next GC, performing a Preemption effect for fair scheduling without explicit yielding. (#4881)

OxCaml layout polymorphism: Open PR introduces repr_ syntax and Ptyp_repr/Ttyp_repr AST nodes for layout-polymorphic types, enabling kind-polymorphic parameters such as (repr_ 'a) (repr_ 'b). 'a -> 'b. (#5068)

OxCaml borrowing: Open PR adds a borrow_ keyword for temporary borrowing in let, argument, and match positions, as a simpler alternative to finer regionality. (#5215)

OxCaml implicit kinds: Merged PR adds [@@implicit_kind] syntax declaring default jkinds for named type variables in signatures, controlled by -extension implicit-types. (#4285)

OxCaml arm64 backend: Open PRs provide a typed arm64 DSL, a binary machine-code emitter, and a -verify-binary-emitter flag that cross-checks assembler output against the emitter. (#5177, #5193, #5198)

Chamelon match minimizers: Open PR adds reduce-pat and improved simplify-match minimizers that eliminate match branches and transform single-pattern matches into let bindings, enabling automatic reduction of blocking patterns. (#5212)

OxCaml metaprogramming: Merged PRs insert type annotations on ambiguous records and variants under quotes, and add stage checks preventing record labels from crossing quotation locks. (#5094, #5158)

Fixes

OxCaml scannable axes: Merged PRs make mod syntax for scannable axes (e.g. non_float) compute a meet rather than an override, restoring backwards compatibility for templated code; a companion fix corrects imprecise separability for or_null instances. (#5187, #5178)

16 repositories · no changes