Thicket thicket
ocaml
REPOS 27
W38.2025 · 15–21 Sep

All repository summaries

15 active · 12 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Fixes

  • Eio (ocaml-multicore): Eio.Process skips PATH lookup when the executable name contains /, matching POSIX execve semantics. Merged 2025-09-17 by talx5. #820

ocaml-multicore/ocaml-iomux

Permalink

Fixes

ocaml-iomux v0.4: clamps max open files to 2^19, preventing macOS from allocating a very large Bigarray at Eio start. Merged by @avsm. #7

Compatibility and Releases

ocaml-iomux v0.4: released 2025-09-17. Upgrades to dune 3.19 and moves the repository to the ocaml-multicore organisation. Release

ocaml/RFCs

Permalink

Features

  • OCaml RFC #56: Open proposal for a for...in iteration construct, active during the reporting interval. Discussion covers closure-allocation and boxing costs, a Seq.t-based alternative, and syntax variants such as for x <- xs. (PR)

ocaml/dune

Permalink

Features

  • Dune OxCaml parameters: Adds a (parameters ...) field to the library stanza for parameterized libraries. Requires the OxCaml compiler flag -parameter Name_of_parameter per parameter. (#12336, open)

  • Dune runtest RPC: Makes the runtest RPC request public in otherlibs, enabling concurrent test execution alongside the watch server. Behaviour is identical with or without the RPC server. (#12473, open)

  • Dune TUI scrolling: Adds horizontal mouse scrolling to the TUI scrollbox widget. Makes viewing large build messages easier; tested with a trackpad. (#12386, open)

  • Dune pkg revision cache: Introduces LMDB-based caching for the revision store, cutting dune pkg solving time by roughly 50%. A lock that took ~800 ms now takes ~400 ms. (#12188, open)

Fixes

  • Dune exec -w: Fixes dune exec -w sending a kill signal to a non-existent process group during rebuilds. The scheduler now tracks whether a job is a process group leader. (#12360, open)

  • Dune Melange output: Stops emitting empty .js files for module aliases. (#12464, open)

Compatibility and Releases

  • Dune promoted files: Proposes marking files promoted via (mode (promote ...)) as read-only in the source tree. Aims to prevent accidental edits when LSP or Merlin jumps to generated files. (#12465, open)

  • Dune boot -map removal: Removes the -map flag from the bootstrap compiler invocation. Module names are now resolved via aliases, a prerequisite for (include_subdirs qualified) support. (#12452, merged)

ocaml/merlin

Permalink

Features

  • Merlin locate_type_multi (PR #1951, open): proposes a new query returning a tree of all identifier locations within a type expression, enabling multi-target "Go to Type Definition" in VSCode. Updated 2025-09-17; not yet merged.

  • Merlin refactoring-extract-region (PR #1948, open): proposes a new protocol command to extract an expression into a fresh let binding. Updated 2025-09-16; still under review with known edge-case gaps.

Fixes

  • Merlin issue #1965 (open): reports that ocaml-lsp surfaces errors absent from dune build on the same source. Filed 2025-09-17; root cause not yet identified.

  • Merlin issue #1867 (open): goto and print-type fail when one executable name is a prefix of another in the same dune file. Updated 2025-09-18 with a related report on completion matching only the alphabetically first executable's libraries.

ocaml/ocaml

Permalink

Features

  • OCaml trunk (typing recovery): PR #14241 adds a -typing-recovery flag to the compiler. When enabled, the type-checker continues past the first error and reports all errors in a file at once. Open, work-in-progress.

  • OCaml trunk (modular explicits): PR #13275 introduces fun (M : S) -> ... syntax, allowing a function's return type to depend on a named module parameter. Open; written during an OCamlPro internship.

  • OCaml trunk (Lazy.Atomic_repeating): PR #14043 proposes a Lazy.Atomic_repeating submodule for concurrency-safe deferred initialization. Concurrent forcing may repeat the computation but always returns the same value. Open.

  • OCaml String module: Discussion #14137 proposes String.find_first, String.split_all, String.replace_all, String.cut, and related functions for 5.5 or 5.6. Awaiting maintainer sign-off on naming.

Fixes

  • OCaml 5.4 (TSan build): PR #14252 fixes a broken ThreadSanitizer build on the 5.4 beta branch caused by a cherry-pick referencing unbackported functions. Merged 2025-09-16.

  • OCaml trunk (TSan shadow stack): PRs #14213 and #14255 fix two TSan shadow-stack bugs that caused crashes when running multiple OCaml programs under the sanitizer (issue #14083). Both open.

Compatibility and Releases

  • OCaml 5.5 (partial-match warning): Issue #14224 confirms that GADT pattern matches on non-exhaustive constructors now trigger warning 8. Maintainers state this is an intentional backward-incompatible change, not a bug. Closed 2025-09-17.

  • OCaml trunk (Relocatable OCaml): PRs #14243, #14244, #14245, and #14246 implement RFC 53: --with-relative-libdir, -launch-method, -runtime-search, --enable-suffixing, and name-mangled shared libraries so multiple OCaml installations coexist without CAML_LD_LIBRARY_PATH. All open.

  • OCaml stdlib: PR #14227 adds List.filter_mapi, combining index-aware mapping with filtering. Merged 2025-09-16.

ocaml/ocaml-lsp

Permalink

Fixes

  • ocaml-lsp: Merged fix for hover on method calls returning "No information available" in editors. Object method types now display correctly. #1553

Features

  • ocaml-lsp: Open PR proposes ocamlformat-mlx formatting for .mlx files via the LSP, outside the dune workflow. #1528

ocaml/ocaml.org

Permalink

Features

  • ocaml.org – Neovim editor setup: Issue #3319 (opened by sabine) requests LSP setup instructions on the Get Started > Editor Setup page. PR #3322 (jpoly1219) is open, covering both nvim-lspconfig and vim.lsp (Neovim ≥ 0.11).

  • ocaml.org – Nushell opam env instructions: PR #3307 (Timmmm) is open, adding a Nushell snippet to the Windows setup page. A maintainer notes the process for adding a new shell to opam itself is tracked in #4816.

ocaml/odoc

Permalink

Compatibility and Releases

  • odoc 3.1.0: Issue #1382 (open, updated 2025-09-16) reports that the {{image!…}} asset syntax fails to resolve paths when building with dune build @doc. An undated comment by the reporter states the workaround is to use odoc_driver instead, and that the documentation gap—assets not working with dune—needs to be stated explicitly.

ocaml/opam

Permalink

Features

opam update (PR #6614): Loads only changed opam files during opam update instead of reloading the full repository. Reduces processing from ~10 s to ~0.01 s on Windows and ~3.5 s to 1 ms on Unix. Open, needs update.

opam build dependencies (PR #6700): Updates download-if-missing build dependencies to dune 3.20.0, re 1.14.0, and menhir 20250903. Open, queued on opam-repository.

Compatibility and Releases

opam source default version (issue #6699): opam source <pkgname> does not default to the pinned version in the current switch, unlike opam list or opam install. Open.

opam on NixOS (issue #6694): Builds fail with linker errors because opam 2.4's more precise depexts no longer pick up externally provided libraries. Workaround: add conf-unwind and conf-pkg-config dependencies or set opam option depext=false.

opam source timestamps (issue #6693, PR #6440): Since opam 2.2, source extraction copies files without preserving timestamps, causing make to regenerate build scripts. PR #6440 (WIP) addresses this by caching only dev packages in the sources directory.

Fixes

opam tree (PR #6688, issue #6543): Merged regression test confirming opam tree on a local directory resolves dependencies from the local opam file rather than an installed package of the same name. Issue closed 2025-09-18.

opam upgrade (PR #6690, issue #3737): Merged regression test confirming opam upgrade permits downgrades when a dependency requires an older version. Issue closed 2025-09-15.

opam source errors (PR #6696): Replaces uncaught exceptions in opam source and build actions with structured error messages, changing the failure mode from a fatal crash to a warning. Open, ready to merge.

opam remove --force (PR #6672): Prevents opam remove --force from executing removal commands in the current working directory. Open, queued.

ocaml/opam-repository

Permalink

Features

  • coq-lsp 0.2.4+8.20: adds a WASM-based worker as the default .vsix build, Rocq _RocqProject support, and a breaking change to the getDocument response type. Three PRs target Coq 8.20, 9.0, and 9.1 (#28532, #28533, #28534).
  • portmidi.0.4: new package providing OCaml bindings to libportmidi via ctypes. Opened by @mbacarella; CI shows FreeBSD and Windows gaps (#28531).
  • proton.1.0.15 / 1.0.16: new OCaml driver for Timeplus Proton (ClickHouse native protocol) with streaming queries, compression, and TLS. 1.0.15 merged; 1.0.16 open (#28518, #28539).
  • yocaml 2.5.0: new release spanning 13 packages, adding Pipeline.read_template, archetype helpers, and an is_file effect for path disambiguation (#28543).

Fixes

  • conf-gmp.1: merged avoid-version to stop gcc-14's implicit-function-declaration error from breaking lower-bound CI runs on debian-13 runners (#28540). A companion PR for conf-gmp-powm-sec.1 is open (#28545).
  • ocaml-base-compiler.5.3.0 MSVC: merged fix corrects ocaml-options-vanilla and ocaml-option-no-compression so system-msvc installs work with ocaml-base-compiler.5.3.0+ on Windows (#28449).
  • opam-repository CI: a new issue tracks recurring conf-package lower-bound failures triggered by the CI runner migration from debian-12 (gcc-12) to debian-13 (gcc-14) (#28541).

Compatibility and Releases

  • MetaOCaml 5.3.0+BER: merged removal of the macos+arm64 install restriction, confirmed working by multiple contributors (#27887).
  • dune.3.12.1 / OCaml 5.3: open PR adds the missing upper bound; the pair fails to build due to an implicit-declaration error in platform.h (#28542).

ocsigen/js_of_ocaml

Permalink

Features

js_of_ocaml WASI runtime (PR #1831, open): wasm_of_ocaml --enable wasi produces a WASI binary runnable via wizeng or wasmtime -W=all-proposals=y. Adding --enable exnref targets wasmtime compatibility. Link

js_of_ocaml Stack Switching effects (PR #1832, open): Generates Wasm using the Stack Switching proposal for OCaml effects. Requires Binaryen dev build (or v124) and wasm_of_ocaml --enable wasi. Link

js_of_ocaml exception optimisation (PR #2098, open): Ongoing work to optimise exception handling in the Wasm backend. No public API change described yet. Link

Compatibility and Releases

js_of_ocaml Wasm number unboxing (PR #2101, merged 2025-09-16): Unboxes numeric values across function calls in the Wasm backend, reducing reference overhead. Link

js_of_ocaml Wasm comparison and bigarray specialisation (PR #1954, merged 2025-09-17): Specialises number comparisons and bigarray operations in generated Wasm code. Link

js_of_ocaml OCaml 5.4 support (PR #2103, open): Adds CI testing against OCaml 5.4. Wasm testing remains blocked by janestreet package incompatibility with ppxlib >= 0.36. Link

js_of_ocaml Wasm test tracking (issue #2061, open): Tracks upstream PRs required to unblock Wasm testing; janestreet ppx_css, basement, typerep, core_kernel, and bigstringaf changes are pending. Link

js_of_ocaml function optimisations (PR #2054, closed 2025-09-15): Meta-PR split into individual sub-PRs (unboxing, parameter passing, return-value unboxing). Individual PRs remain open. Link

oxcaml/merlin

Permalink

Features

  • Merlin (oxcaml): extends the syntax doc command to hover over oxcaml syntax constructs with English descriptions; mode and modality hovers are deferred pending typedtree location support (ticket 4845). Merged 2025-09-17. (#168)

Fixes

  • Merlin short-paths: fixes an exponential-time bug in the short-paths algorithm that caused 40-minute hangs in large directories. Merged 2025-09-17. (#182)

Compatibility and Releases

  • Merlin 5.2.0minus-19: merges the oxcaml compiler branch into Merlin, bringing compiler-side changes into the IDE. Merged 2025-09-17. (#185)

oxcaml/opam-repository

Permalink

Fixes

  • oxcaml/opam-repository: open issue reports that js_of_ocaml-compiler.6.0.1+ox fails to build because two patches (js_of_ocaml-iarray-primitives.patch, js_of_ocaml-floatarray_create_local.patch) do not apply. No resolution recorded as of the reporting interval. #12

oxcaml/oxcaml

Permalink

Features

  • OxCaml LLVM backend: Merged major refactor introducing an intermediate LLVM IR interface, exception handling, tail calls, allocation, atomics, and initial GC support. #4722
  • OxCaml ikinds extension: Open prototype adding new subsumption and mode-crossing algorithms behind -extension ikinds, targeting polymorphic variants and GADTs. Not production-ready. #4675
  • OxCaml runtime quotations: Open PR introducing <[, ]> quotation syntax with $ splicing and a stage notion in the type system. Evaluation support is pending. #4395
  • OxCaml unboxed char ranges: Open PR allowing range patterns like #'a'..#'z' for untagged chars, expanded by the type checker into disjunctions. #4716

Fixes

  • OxCaml match-in-match (Flambda2): Three bugs filed 2025-09-17: missing code, zero-alloc check failure, and a leaked symbol in the typing environment. #4731, #4732, #4733
  • OxCaml DLS: Merged refactor making runtime4 dynamic local storage thread-safe and improving performance by omitting bounds checks and inlining. #4736
  • OxCaml TLS: Merged revert of the TLS implementation due to a Format module malfunction in threaded programs where str_formatter calls intermittently produced no output. #4734

Compatibility and Releases

  • OxCaml 5.2.0minus-19: Magic numbers bumped for the next release cycle. #4723
12 repositories · no changes