Thicket thicket
ocaml
REPOS 27
W04.2026 · 19–25 Jan

All repository summaries

14 active · 13 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Features

  • Eio (issue #829): Fmt convenience functions for Buf_write/Flow were proposed and the issue was closed on 2026-01-19. No comments or labels indicate whether the proposal was accepted or rejected. Link

Fixes

  • Eio (PR #827): Ongoing work to handle POLLNVAL on MacOS block devices, addressing issue #757. Updated 2026-01-22; not yet merged. Link

ocaml-multicore/picos

Permalink

Features

  • picos (experimental): introduces a lock-free hash table with incremental resizing. Opened by polytypic; still open during the reporting interval. #382

Compatibility and Releases

  • picos: merges upgrade to multicore-magic 2.3.2. Merged 2026-01-22 by polytypic. #386

ocaml/RFCs

Permalink

Features

  • OCaml RFC #60 (persistent compiler processes): Open proposal adding a persistent mode to ocamlc, ocamlopt, and ocamldep, reducing per-invocation process startup and repeated .cmi unmarshalling. #60

  • OCaml developer meeting on RFC #60: Consensus that the direction is interesting but a 10–20% gain is insufficient to commit. Caching .cmi loading identified as a lighter-weight alternative; reproducibility concerns raised around internal object IDs. #60

  • OCaml RFC #57 (labeled tuple projections): Ongoing discussion; a comment argues against adding a third row-polymorphism mechanism and notes that PR #11407 reduces the fst/snd motivation for the feature. #57

ocaml/dune

Permalink

Features

Dune 3.21.0: released this week; the release tracker closed on 2026-01-21.

Dune pkg git pinning: dune pkg lock now records the resolved commit hash for git+ URLs in the lock file, making builds reproducible without re-fetching. Merged in #13297, closing #13110.

Dune pkg :with-test option: a new option skips building dependencies declared with :with-test, reducing build time for projects that do not need test-only packages. Merged in #13298.

OxCaml workspace and .cms support: two open PRs add (using oxcaml 0.1) to dune-workspace files (#13395) and compiler flags plus dependency tracking for OxCaml shape files (#13397).

Emacs dune-find-dominating: new command in dune.el jumps to the nearest enclosing dune file; supports xref-go-back. Merged in #12696.

Fixes

(select ..) closure evaluation: optional virtual-library implementations were incorrectly marked unavailable when a select branch referenced a missing library, breaking all MirageOS unikernels with lwt 6.0. Fixed in #13389 and #13406.

File-descriptor leak in package builds: missing O_CLOEXEC on redirect files caused "Too many open files" crashes during dune pkg builds. Fixed in #13385.

Windows PATH separator: the dune folder was appended with : instead of ; on Windows, breaking package builds that invoke tools from the dune directory. Fixed in #13405.

ocaml/merlin

Permalink

Features

  • Merlin locate-types protocol: Merged change adds an Other variant so editors can render type variables (e.g. 'a in 'a t -> 'a) that are not jump-to-definition targets. Editors must handle the new variant. #2025
  • Merlin enclosing command: Open RFC proposes a -stop flag to request the smallest enclosing expression around a selection rather than a single point. Intended to improve locate-types and annotate-type for multi-token expressions. #2029

Fixes

  • Merlin record-field completion: Merged fix includes for_completion in the reader-cache fingerprint, restoring field-name candidates after a dot that were previously suppressed by a stale cache hit. #2028
  • Merlin locate-types: Merged change strips the option wrapper from optional parameters, so ?foo:int reports as int rather than int option. #2027

Compatibility and Releases

  • Merlin OCaml 5.5 support: Tracking issue opened for OCaml 5.5 compatibility; several large PRs are expected to land before the first alpha. #2024

ocaml/ocaml

Permalink

Features

OCaml String module: merged String.replace_first, String.replace_last, String.replace_all, String.split_first, String.split_last, String.split_all, and String.rsplit_all for OCaml 5.5. Part of a broader String API improvement effort. #14436, #14437

OCaml Gc.Tweak: merged a mechanism for named GC parameters settable via OCAMLRUNPARAM=Xfoo=123 or the new Gc.Tweak stdlib module. The mark-stack pruning threshold is the first parameter exposed. #14367

Labeled tuple projections: open proposal adding e.~l syntax to access labeled tuple components without pattern matching, e.g. (1, ~msg:"hi", 3).~msg. A syntax clash with MetaOCaml remains unresolved. #14257

Lazy.Concurrent_blocking: open proposal adding a mutex-protected lazy thunk module for safe concurrent initialization in library code. The module name signals its limitation: it does not integrate with user-level fiber abstractions. #14393

Fixes

Polymorphic parameters soundness bug: open issue where let f ([x] : 'a. 'a list) = ... segfaults on f [] due to incorrect Tpoly handling in the exhaustiveness checker. Two competing fixes are under review. #14434, #14480, #14479

Type-checker state reset: merged a fix ensuring ocamlc -c foo.ml bar.ml baz.ml produces identical output to three separate invocations, by resetting the type ID counter, Ctype levels, and pattern-match lambda caches between files. #14483

-bin-annot-occurrences assertion failure: merged a fix for a fatal assertion in typing/env.ml triggered when compiling functor arguments with -bin-annot-occurrences, caused by shape-only paths in Env.find_uid. #14476, #14474

Compatibility and Releases

Windows minimum version: merged a change defining _WIN32_WINNT as 0x0602 (Windows 8 / Server 2012) in internal C preprocessor flags, replacing per-file definitions. Required for WaitOnAddress and WakeByAddressAll. #14484

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp (PR #1584, open): proposes a custom LSP request for merlin-locate-types, returning a field set as a compact representation of reachable types. Link

  • ocaml-lsp (PR #1583, open): proposes a custom LSP request for destructuring, replacing the code-action approach for triggering the command in ocaml-eglot. Link

ocaml/ocaml.org

Permalink

Features

  • ocaml.org tutorials: Three new tutorials proposed covering OCaml-CI, official Docker images, and GitHub Actions workflows. All opened by cuihtlauac on 2026-01-23, pending review. (#3456, #3457, #3458)
  • OCaml Planet feed: Issue opened requesting full blog post content in the aggregated feed instead of snippets, citing parity with other language planets. Open, no resolution yet. (#3459)
  • ocaml.org Governance page: PR opened to update the list of active governance teams. Open, pending review. (#3460)

Compatibility and Releases

  • Dune 3.21: Release announcement merged to ocaml.org on 2026-01-23. (#3453)

ocaml/opam

Permalink

Compatibility and Releases

  • opam (0install solver): 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) where previously only x86_64 was installed. Setting OPAMEXTERNALSOLVER=builtin-mccs+glpk avoids the duplicate resolution. Issue #6843 remains open.

Features

  • opam documentation: PR #6846 (raphael-proust) proposes documenting raw-field syntax more prominently in the opam manual. The documentation change is approved; a separate test PR for opam list output format is requested before merge. Still open.

ocaml/opam-repository

Permalink

Features

opam-repomin 1.0.0: new tool to minimize opam repository overlays into a single unified repo. Merged 2026-01-25. #29274

New packages: qdrant 0.2.0 (Qdrant vector DB client), dead_code_analyzer 1.1.0, domainpc 0.1 (spawn domains on separate cores), csexp-query 0.1.0, and print-table 0.1.3 all merged this week. #29267, #29262, #29223, #29273, #29279

Fixes

lmdb 1.1: fixes a bad allocation pattern in mdbs_cursor_get causing sporadic segfaults. Deprecates Cursor iterators in favour of Map.to_dispenser with Stdlib.Seq. Merged 2026-01-23. #29212

ocaml/opam Docker images: GCC 15 patches for Fedora 42 + OCaml 4.14 were regressed by an un-rebased overlay repo. Patches restored; ppx_sexp_conv and dune builds on that image work again. Closed 2026-01-19. #29243

Compatibility and Releases

Menhir 20260122: new release of the LR(1) parser generator (5 packages) is open, pending CI. A prior 20260112 release broke embedded_ocaml_templates < 0.8; upper bounds menhir < 20260112 were merged into archetype, bnfgen, otoml, catala, dolmen, morbig, and touist. #29263, #29222

styled-ppx 0.61.0: breaking update to ppxlib.0.36. Merged 2026-01-23. #29227

ezcurl 0.3: breaking change wrapping Curl.t in a record; breaks openai and opentelemetry-client-ocurl revdeps. Open, awaiting network-test resolution. #29257

OCaml 5.5.0+trunk: ocaml-base-compiler and ocaml-variants packages updated to track the newly created 5.5 branch. Merged 2026-01-22. #29264

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml: merges support for import defer * as x from u in the JS parser. (#2147)
  • js_of_ocaml: merges handling of contextual keywords yield and await via virtual tokens, avoiding a 3× parser size increase. (#2148)
  • js_of_ocaml (WASM): proposes bigstring optimizations reducing WASM runtime from 20 s to 13 s (Chromium) and 67 s to 18 s (Firefox). (#2144)
  • js_of_ocaml: proposes Oxcaml backend support. (#2105)
  • js_of_ocaml (WASM): proposes a WASI runtime via wasm_of_ocaml --enable wasi, executable with Wizard or wasmtime. (#1831)

Fixes

  • js_of_ocaml: merges a JS parser modernization that fixes parsing of arrow functions in for-loop initializers. (#2143, #2139)
  • js_of_ocaml: opens a further JS parser improvement. (#2149)
  • js_of_ocaml: merges a fix for a typo in the LGPL exception text (Clause 3 → Clause 2). (#2145, #2137)

oxcaml/merlin

Permalink

Features

  • Merlin (oxcaml): Merged locate-type-multi command (#148). Returns a tree of all identifier locations within a compound type, enabling VSCode "Go to Type Definition" on types such as a -> (b * c).

  • Merlin (oxcaml): Opened a kind-enclosing query (#208), the jkind analogue of type-enclosing for kind hovers. Still open.

Fixes

  • Merlin (oxcaml): Opened cherry-pick of upstream locate-types improvements (#207, from ocaml/merlin#2025 and #2027). Adds an oxcaml-specific adjustment for Tpoly wrapping of function parameter types. Still open.

oxcaml/opam-repository

Permalink

Features

  • oxcaml opam-repository (PR #32): proposes making all oxcaml packages coinstallable via an opam-repomin plugin that generates a combined standalone repository. Fixes missing zarith.1.14+ox deps and removes obuild. (open) Link

  • oxcaml opam-repository (PR #31): proposes pointing the jsoo package at the latest oxcaml branch of js_of_ocaml rather than individual patches. Fixes parameterised-lib issues required for incremental compilation with jsoo in dune. (open) Link

Fixes

  • oxcaml opam-repository (PR #23): updates ocamlbuild, async_ssl, alcotest, sedlex, topkg, and uutf to resolve constraint errors when compiling upstream packages. Opened 2025-11-27; updated within this interval. (open) Link

oxcaml/oxcaml

Permalink

Features

OxCaml Seamm prototype: New egraph-based IR between Flambda 2 and Cfg, tracked in issues opened 2026-01-20. Covers the control-flow language, egraph core library, rewrite engine, and cross-IR translations. (#5251)

OxCaml ARM SIMD: PR #5291 translates 256-bit vectors to pairs of 128-bit vectors on arm64, enabling non-AVX SIMD tests on ARM. Loads and stores split into two 128-bit operations preserving bounds checking. (#5291)

OxCaml borrowing operator: Ongoing PR #5215 adds a borrow_ operator for temporary aliased access to unique values without consuming uniqueness. Borrowed values are local and aliased; the original regains uniqueness after the borrow scope. (#5215)

OxCaml layout-polymorphic types: Ongoing PR #5068 introduces repr_ syntax and Ptyp_repr/Ttyp_repr AST nodes for layout-polymorphic type declarations. Such types are currently uninhabited; instantiation is deferred. (#5068)

OxCaml binary emitter verification: Ongoing PR #5198 adds -verify-binary-emitter, which re-reads the object file and compares text and data sections against the binary emitter output. Currently arm64-only. (#5198)

OxCaml dissector eh_frame: PR #5303 adds --enable-assembler-suitable-for-dissector to use llvm-mc for 64-bit .eh_frame sections in large executables. A -dissector-assume-lld-without-64-bit-eh-frames flag works around missing lld/glibc support. (#5303)

OxCaml zero-alloc analysis: Design doc closed 2026-01-20; implementation tracked in open issue #5278 for improved zero-allocation analysis in Flambda 2 and the backend. (#5278)

OxCaml name mangling: Ongoing PR #5099 introduces a reversible mangling scheme that reconstructs full module paths, including submodules, from mangled names. De-mangling implementations exist for LLVM, GDB, addr2line, and the Linux kernel. (#5099)

13 repositories · no changes