Thicket thicket
ocaml
REPOS 27
W52.2025 · 22–28 Dec

All repository summaries

11 active · 16 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Fixes

  • Eio Fiber.any race condition: Issue #805 was closed on 2025-12-22, confirming the nested Fiber.any cancellation bug is resolved by the fix in #806.

Features

  • Eio Exn.with_context proposal: A helper to reduce exception-context boilerplate was proposed and closed without merging. The approach loses backtrace information due to tail-call optimisation; the existing try … with pattern remains the recommended idiom.

Compatibility and Releases

  • Eio io_uring support: An open discussion on io_uring security concerns (referencing a Google report) remains ongoing. Users can select the POSIX backend as an alternative.

ocaml-multicore/picos

Permalink

Features

  • picos (PR #379, open): proposes a weakly fair fifo-thread scheduler combining effects and sys threads, guaranteeing no fiber can starve others via an infinite loop without effects. Updated 2025-12-25; not yet merged. Link

  • picos (PR #381, open): minor adjustment to the multififo component. No description provided. Link

ocaml/dune

Permalink

Features

  • Dune runtest: dune runtest now accepts (tests) and (inline_tests) sources, not just cram test files. Fixes #870. (#13064)
  • Cram shell field: The (cram) stanza gains a shell field to select bash instead of the default sh. (#13083)
  • Dune trace: New dune trace subcommand reads the trace file; structured log events are folded into the trace and produced by default, replacing _build/log. (#13055, #13015)
  • Cram command timing: Open PR adds per-command trace events for bash-executed cram tests to identify slow steps. (#13092)

Fixes

  • Dune install --prefix: Relative paths that escape the workspace (e.g. --prefix ../bar) are now resolved correctly instead of being rejected. Fixes #12241. (#12993)
  • Dev tool compiler pins: Compiler pins from dune-workspace now propagate to the dev-tool solver, so dune tools install respects pinned compiler branches. Fixes #12868. (#13033)

Compatibility and Releases

  • Dune 3.22: The lang dune version on main is bumped to 3.22. New features above require this version. (#13082)
  • macOS copyfile: Portable copyfile is restored for older macOS (≤ 10.6.8) where the native API is unavailable. Fixes #12576. (#13069)

ocaml/merlin

Permalink

Compatibility and Releases

  • Merlin (issue #2019): ocamlmerlin single type-enclosing emits standard OCaml type syntax rather than Reason syntax on OCaml ≥ 5.3 (merlin v5.3-502, v5.4-503). Open issue reported by anmonteiro.

ocaml/ocaml

Permalink

Features

  • OCaml 5.5 (trunk): enables the native-code backend on DragonFly BSD, previously omitted because uname -s does not contain "bsd". Merged 2025-12-24. (#14431)
  • OCaml 5.5 (trunk): adds String.is_empty, a predicate for the empty string, mirroring List.is_empty from 5.1. Merged 2025-12-28. (#14438)
  • OCaml 5.5 (trunk): adds String.of_char, a one-character string constructor replacing the String.make 1 idiom. Merged 2025-12-28. (#14440)
  • OCaml 5.5 (trunk): proposes [@@unstable] and [@@@unstable_feature] attributes to gate experimental APIs behind explicit opt-in flags. Open PR with active maintainer debate on ecosystem impact. (#14430)
  • OCaml 5.5 (trunk): proposes Int.fdiv, Int.cdiv, Int.ediv, and Int.emod for floor, ceil, and Euclidean division with a non-negative remainder. Open PR targeting all integer modules. (#14432)
  • OCaml 5.5 (trunk): proposes popcount, nlz, ntz, nls, unsigned_bitsize, and signed_bitsize for Int, Int32, Int64, and Nativeint. Open PR; pure-OCaml implementation. (#14433)
  • OCaml 5.5 (trunk): a series of open PRs adds String.find_{first,last}, String.split_{first,last,all}, String.replace_{first,last,all}, and String.includes to the standard library. (#14381, #14437, #14436, #14439)

Fixes

  • OCaml 5.5 (trunk): a soundness bug in polymorphic parameters causes a segfault when a polytype is instantiated in a pattern constraint. Open issue; exhaustiveness checking also fails for the affected code. (#14434)

ocaml/ocaml-lsp

Permalink

Fixes

  • ocaml-lsp (PR #1579): proposes correcting -short-paths handling so merlin receives the right path configuration. The default real_paths must be true to prevent OCaml flags from overwriting the setting. Open, not yet merged. Author: SkySkimmer.

Compatibility and Releases

  • ocaml-lsp (issue #1578): reports a version conflict where ocamlformat-mlx requires OCaml < 5.4 while ocaml-lsp-server requires OCaml >= 5.4. Closed 2025-12-24; no resolution recorded in the data.

ocaml/ocaml.org

Permalink

Features

  • ocaml.org planet feed: PR to add Chris Armstrong's OCaml-related blog posts to the feed is open. #3428

Fixes

  • ocaml.org: Website unresponsive on 2025-12-26; connections timed out. Restored the same day. #3432

Content

  • OCaml Cookbook: "Log exception" entry merged by cuihtlauac. #3433

ocaml/opam

Permalink

Fixes

opam (PR #6839, merged 2025-12-22): Fixes a Windows lock-acquisition failure during switch and repo format upgrades. The fix reuses the existing system lock instead of creating a second one. PR

opam ≥ 2.2 (issue #6693, open): Source-file timestamps are lost when opam copies extracted sources into the build directory, causing make to regenerate configure scripts and requiring automake as an undeclared dependency. Issue

Features

opam nushell support (PR #6330, WIP): Adds opam env output usable in nushell via load-env (opam env | from json). Does not yet cover opam init --shell=nu or other subcommands. PR

opam sources directory (PR #6440, WIP): Restricts the .opam-switch/sources directory to dev packages only, saving disk space and reducing redundant extraction. Also targets the timestamp regression in #6693. PR

opam repos-config syntax (PR #6393, open): Replaces the list-based repos-config format with per-repository sections using labeled fields (url, fingerprints, quorum). Requires a hard upgrade of the opam root; no best-effort read of the old format. PR

ocaml/opam-repository

Permalink

Features

  • polymarket 0.1.0: new package merged; OCaml client for the Polymarket CLOB and Gamma APIs, supporting market data retrieval and order management. #29133
  • shellwords 1.0.0: new package merged; POSIX.1-2008 shell word parsing and quoting, targeting behavioural compatibility with the Rust shell-words crate. #29126
  • menhir-lsp 0.1.1: new package merged; Language Server Protocol implementation for .mly and .mll files, providing navigation and completions in editors. #29137

Fixes

  • Expr 0.6.0: merged; fixes incorrect evaluation of expr != [expr, expr] and adds string parsing/comparison. The lib/ directory is now declared public. #29138

Compatibility and Releases

  • rpclib 10.0.0: open PR (6 packages); major release dropping Python 2 support, removing the deprecated rpc virtual package, and restricting rpclib-async to OCaml 5.3+. #29075
  • qcheck 0.91: merged; updates four packages (qcheck, qcheck-core, qcheck-alcotest, qcheck-ounit). #29123
  • sail 0.20.1: merged (13 packages); bugfix release that unifies the bit type with bits(1), permitting strictly more programs without a major version bump. #29124
  • conf-taglib_c.2: merged; adds taglib_c version 2 detection for Debian ≥ 13, resolving CI failures on that distribution. #29141

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml (Wasm): PR #1832 (open, updated 2025-12-24) adds Stack Switching support via wasm_of_ocaml --enable wasi, requiring a development Binaryen build. Output runs under Wizard with -ext:stack-switching.

Fixes

  • js_of_ocaml 6.2.0: Issue #2139 (open) reports the JS parser rejects arrow functions in for-loop variable definitions, e.g. for (var t=()=>1; false; undefined). Valid in Node.js; no fix yet.

oxcaml/oxcaml

Permalink

Features

  • oxcaml scannable axes: #5169 (open) adds scannable axes to compute nullability and separability, introducing a non_pointer kind. Work primarily by @zackbach; pending internal benchmarking before merge.

  • oxcaml implicit kinds: #4285 (open) introduces [@@implicit_kind: ('var : jkind)] syntax for declaring implicit variable kinds in signatures, inspired by Rocq's implicit types. Controlled by -extension implicit-types.

  • oxcaml unboxed keywords: #5167 (open) adds #assert, #if, #while, #for, #when, #<-, and #; as unboxed counterparts typechecking against unit# and bool#. A #for for unboxed integers is noted as future work.

  • oxcaml preemption: #4881 (open) implements effects-based preemption in the native runtime, allowing user code to request domain preemption at GC poll points. ARM support is pending.

  • oxcaml dissector: #5146 (open) introduces a linking pass that partitions large executables into sub-2 GB segments using intermediate GOT/PLT sections, avoiding the large code model. Activated via -dissector.

  • oxcaml arm64 emitter: #5177 (open) adds a binary machine-code emitter for arm64 with a typed DSL, and refactors the ocaml-jit library to be architecture-independent.

  • oxcaml slambda IR: #5148 (open) adds constructors to the slambda IR to support transl and static evaluation, moving slambda into lambda.ml to break a recursion.

  • oxcaml kind externality: #5162 (open) redefines base non-value kinds (bits8, float64, vec128, etc.) as their base layout mod external_, with _internal suffixes for the non-external variant.

16 repositories · no changes