Thicket thicket
ocaml
REPOS 27
W45.2025 · 3–9 Nov

All repository summaries

13 active · 14 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Features

  • Eio (PR #821, open): Proposes incremental directory reading via a with_dir_entries-style API. Discussion updated 2025-11-06 confirms the initial implementation does not recurse; a recursive descender would be layered on top.

Fixes

  • Eio (PR #822, merged 2025-11-04): Corrects documentation for without_binding.

ocaml/RFCs

Permalink

Features

  • OCaml RFC #37 (uniform arrays): Open proposal, updated 2025-11-07. Proposes specialized built-in and C primitives for uniform arrays plus a CamlinternalUniform_array standard-library module to simplify unsafe array idioms in Domain.DLS, Dynarray, and Jane Street Base. #37

  • OCaml RFC #58 (OLC voting procedure): Open proposal created 2025-11-05. Reframes committee votes as opinion-mapping rather than final judgement, with consensus as the primary decision mechanism. #58

  • OCaml RFC #55 (OLC conflicts of interest): Open proposal, updated 2025-11-05. Adds a transparency-based conflict-of-interest reporting policy and an affiliation field to the committee roster. #55

ocaml/dune

Permalink

Features

  • Dune pkg autolocking: open PR adds automatic dependency locking when (pkg enabled) is set in dune-workspace, eliminating the need to run dune pkg lock before building. (#12653)
  • Dune parameterized libraries: open PR adds instantiation of parameterized libraries in dependencies via (my_lib arg1 arg2 :as new_name) syntax. Requires OxCaml compiler support. (#12561)
  • Dune runtest: open PR adds dune runtest src/of/test.ml to run individual (tests) and (inline_tests) targets by source file path. (#12689)
  • Dune promotion show: open PR adds dune promotion show to display corrected file contents for failed diff rules without modifying source files. (#12669)

Fixes

  • Dune build lock warning: open PR emits a warning with the holding process PID when dune build waits on a stale _build/.lock, replacing silent indefinite blocking. (#12687)
  • Dune pkg lock dir rename: merged fix falls back to copy when renaming the lock directory, resolving cross-device link errors in Docker bind-mount environments. (#12649)

Compatibility and Releases

  • Dune portable lockdirs: open PR enables portable lock directories by default; non-portable lockdirs remain supported and are auto-detected. Closes #12694 and #11476. (#12680)
  • Dune Emacs integration: open PR adds dune-find-dominating to dune.el, jumping to the nearest dune file with xref-go-back support. (#12696)

ocaml/merlin

Permalink

Features

  • Merlin (lazy indexing): Merged PR makes buffer indexing conditional on query type, yielding a ~25% speedup in ocamlmerlin single errors. (#1991)
  • Merlin (short paths): Merged PR makes short-path resolution lazier, ported from oxcaml Merlin. (#1988)

Fixes

  • Merlin (locate): Open issue reports merlinCallCompatible/locate failing when the cursor is on a multi-line type definition. (#1987)

Compatibility and Releases

  • Merlin (menhir): Merged PR adds --lalr to menhir invocations, enabling more optimal parser code generation. (#1989)
  • Merlin (index cache): Merged PR replaces the stamped hashtbl with a sharing-based cache, simplifying integration with the typer cache. (#1990)

ocaml/ocaml

Permalink

Features

Relocatable OCaml (PRs #14243–#14246): Four open PRs implement RFC 53, adding --with-relative-libdir, --enable-suffixing, and --enable-runtime-search to configure, plus new ocamlc options -launch-method and -runtime-search. Bytecode executables and shared libraries receive version-suffixed names to disambiguate multiple installations.

include functor (PR #14177): Open proposal adding include functor F as a structure item, applying a single-parameter functor to the current module contents. Eliminates boilerplate proxy modules; multi-parameter functors are rejected with an error.

Module mismatch hints (PR #14330): Open PR adding "close match" hints to signature-mismatch errors when a misspelled identifier in the implementation closely resembles a required one, using a stable-matching algorithm over edit distances.

Compatibility and Releases

Unix C API (PR #14310): Merged deprecation of union sock_addr_union and socklen_param_type in favour of struct sockaddr_storage and socklen_t, with a C11 _Generic macro preserving source compatibility.

Fixes

GC work accounting (PRs #14329, #14336): Merged fixes align major-GC work counters with pacing expectations: caml_darken marking now counts toward the slice, free blocks are excluded from sweep work, and ephemeron marking drops a quadratic walk term.

Runtime race fix (PR #14337): Merged fix for a segfault when a continuation allocated during caml_callback is promoted by a minor collection and then dropped, leaving a stale return address visible to compaction.

caml/osdeps.h (PR #14342): Merged fix making the header self-standing by moving <caml/misc.h> and <caml/memory.h> includes outside the CAML_INTERNALS guard, restoring compilation for stubs that include only osdeps.h.

Memprof segfault (Issues #14340, #14341): Two open reports of segfaults when calling Printexc.backtrace_slots or writing runtime events from memprof callbacks at high sampling rates, reproduced on OCaml 5.3.0 and 5.4.0.

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp: Merged PR adds ocamlformat-mlx formatting and most OCaml LSP features for .mlx files. (#1528)
  • ocaml-lsp protocol: Proposal to add an optional identifier-prefix parameter to the definition/declaration request, enabling refined xref in Emacs without tunneling. (#1570)

Compatibility and Releases

  • ocaml-lsp: Open PR implements a fallback to .merlin files when no dune-project is present, addressing project detection in non-Dune layouts. (#1563)

Fixes

  • ocaml-lsp 1.23.1: Opam build fails on Lubuntu 25.10 with OCaml 5.3.0; dune build -p ocaml-lsp-server @install exits non-zero. (#1571)
  • ocaml-lsp: Spurious Unbound module diagnostics persist after fixing a type error in a Dune-watch-mode file; restarting the LSP server clears them. Issue updated 2025-11-08. (#1209)

ocaml/ocaml.org

Permalink

Features

OCaml.org docs: merged pages describing all OCaml compilation targets (native, bytecode, JavaScript, WASM, unikernels) with links to ocamlopt, ocamlc, Js_of_ocaml, Melange, wasm_of_ocaml, Wasocaml, and MirageOS. (#3378)

OCaml.org Backstage: merged "OCaml Infrastructure: How the opam-repository Works" article covering CI funding (Cambridge Computer Lab, Tarides, OSUOSL, IBM/Marist S390 machines) and multi-platform testing. (#3379)

OCaml Planet: merged addition of Ryan Gibb's OCaml feed to the aggregated blog/video planet. (#3388)

OCaml.org data: merged OCaml Platform Newsletter entries for September and October 2025. (#3393)

OCaml.org docs: opened PR adding the dune ocaml doc command to the generating-documentation tutorial. (#3391)

Fixes

OCaml.org video scraper: opened PR increasing the YAML buffer to fix a Decode_error on data/video-youtube.yml that crashes ood-gen and ood-feed during make start. Not yet merged. (#3392)

OCaml Planet feed: opened issue reporting that a recent article from hannes.robur.coop is absent from the planet feed despite being present in the Atom feed. Still open. (#3394)

ocaml/odoc

Permalink

Features

  • odoc (issue #1389): Long lines in code blocks expand the main content area beyond the viewport; a referenced commit enables wrapping, but a sub-scrollbar is considered preferable. Discussion ongoing as of 2025-11-05.

Compatibility and Releases

  • odoc (issue #1386): Navigating between sibling modules requires multiple clicks. A comment notes odoc 3's global navigation tree view addresses this, but dune build @doc rules must be updated to use it.

ocaml/opam

Permalink

Features

opam 2.5: adds OCaml 5.5 compiler support to the build and test matrix. Merged to main and backported to the 2.5 branch. (#6670, #6786)

opam documentation: two open PRs add instructions for creating a switch with compiler configure-time options and explain the default-compiler selection during opam init. (#6777, #6778)

Compatibility and Releases

opam-core API: cmdliner 1.3.0 is now vendored as OpamCmdliner; the module is wrapped, so downstream library consumers must update their references. Merged to main and 2.5. (#6755, #6756)

opam 2.5.0~beta1: release PR is open and pending the OCaml 5.5 backport and dry-run directory fix. Not yet published. (#6787)

Fixes

opam update: skips removing a version-equivalent package (e.g. 0 vs 00) when a repository rename is detected, preventing a spurious "No package found" error. Merged to main and 2.5. (#6774, #6784)

opam macOS sandbox: permits writes to /var/folders/ and /var/db/mds/, resolving security find-certificate failures during package builds. Merged to main and 2.5. (#4797, #6775)

opam release tarball: corrects the placement of vendored source archives under src_ext/archives/ so the -full tarball builds without network access. Merged to main and 2.5. (#6765, #6766)

opam installer: checks for AppArmor ABI 4.0 before installing a profile, avoiding a parse error on Debian systems that ship only ABI 3.0. Merged. (#6764)

ocaml/opam-repository

Permalink

Features

Raven 1.0.0~alpha2: 11-package ML ecosystem release (Nx, Rune, Kaun, Talon, Saga, Fehu, Sowilo, Hugin, Quill, Nx-datasets, raven meta). Adds NumPy-compatible I/O, neural-net ops, visualization API, and performance improvements across tensor and dataframe operations. Open PR by @tmattio. #28827

bytesrw 0.3.0: adds Bytesrw_tls (Mbed TLS backend), Bytesrw_crypto (PSA Crypto API bindings), and Bytesrw_sysrandom for OS-provided secure random streams. Merged 2025-11-05. #28836

Melange 6.0.0: major version update submitted as an open PR on 2025-11-09. #28866

Fixes

topkg 1.1.1: generates a pkg.itarget file to avoid Windows command-line length limits during ocamlbuild invocation; also improves build-failure error reporting. Merged 2025-11-05. #28833

ocf_ppx / xtmpl_ppx: adds ppxlib upper bounds to resolve Longident.t type incompatibility under OCaml 5.4.0. Merged 2025-11-05. #28852

Compatibility and Releases

Binaryen / libbinaryen: merged breaking upgrades across binaryen 0.28.0–0.31.0 and libbinaryen 122.0.0–124.0.0 (Binaryen v118–v124). libbinaryen.122.0.0 drops OCaml 4.12 support. #28817, #28809, #28823, #28824

Catala 1.0.0: first stable release submitted as an open PR; includes catala-lsp with a lower-bound fix applied during review. #28853

opam-repo CI (Windows): proposes extending x-ci-accept-failures handling to MSys2 and Cygwin workflows, using "msys2" and "cygwin" as variant identifiers. Open PR by @shym. #28856

ocsigen/js_of_ocaml

Permalink

Fixes

  • Js_of_ocaml ppx: Merged fix for false unused-var-strict warnings on self in object%js when a method does not reference it. (#2128, #2125)
  • Js_of_ocaml ppx: Merged ppx_js clean-up that restores labelled-argument calls on Js.meth methods broken in 6.2.0. (#2120, #2126)
  • Js_of_ocaml 6.2.0: Open bug: dev-profile builds with --target-env browser emit a require("node:util") reference in generated JavaScript. (#2127)

Features

  • Js_of_ocaml Wasm: Open PR adds string-conversion and ArrayBuffer copy optimizations for the Wasm backend. (#2124)
  • Js_of_ocaml Wasm: Open PR implements OCaml effects via the Wasm Stack Switching proposal, requiring Binaryen dev or v124. (#1832)
  • Js_of_ocaml Wasm: Open PR adds a WASI runtime; wasm_of_ocaml --enable wasi produces Wasm runnable by wasmtime or the Wizard engine. (#1831)
  • Js_of_ocaml ppx: Merged ppx_optcomp_light improvements that emit a floating attribute for filtered-out items. (#2117)
  • Js_of_ocaml: Open PR adds Oxcaml support to the compiler. (#2105)

oxcaml/merlin

Permalink

Fixes

  • Merlin (oxcaml): stops forcing substitutions during short-paths graph construction, eliminating a performance bug where ocamlmerlin took over twice the compiler's type-check time on large modules. #193

  • Merlin (oxcaml): adds --lalr to menhir parser invocations, matching the flag the compiler already passes; improves parser generation speed. #194

  • Merlin (oxcaml): backports upstream lazy indexing changes (ocaml/merlin#1990, #1991) to defer index construction. #195

oxcaml/oxcaml

Permalink

Features

  • OxCaml mixed modules: Open PR #4020 lifts the value-only restriction on module fields, enabling unboxed data in modules. New Types.module_representation and Lambda.module_representation types track mixed layout through typing and codegen.

  • OxCaml sort levels: Merged PR #4785 adds levels to sort variables, enabling polymorphic sort variables for layout polymorphism. Level-handling logic is split into a new Levels module within Typing.

  • OxCaml F16C/FMA SIMD: Merged PR #4964 adds float16x8, float16x16, and float16x32 vector types with F16C and FMA intrinsics. All FMA intrinsics map to the 213 instruction form.

  • OxCaml sharable mode: Open PR #4982 adds a sharable mode to the portability axis; sharable closures capture shared values. The statefulness axis now implies sharable, analogous to observing.

  • OxCaml implicit kinds: Open PR #4285 introduces [@@implicit_kind: ('var1 : jkind1) * ...] syntax for implicit jkinds on type variables, inspired by Rocq's implicit types. Currently works in signatures under -extension implicit-types.

  • OxCaml exception modes: Merged PR #4891 extends exceptions to cross statefulness and visibility axes, in addition to the existing portability and contention crossings. This permits throwing exceptions from stateless functions.

Fixes

  • OxCaml parameterized libraries: Merged PR #4948 disallows aliases to functor parameters, fixing a segfault caused by incorrect member projection through coerced signatures. The restriction mirrors the existing functor parameter rule.

  • OxCaml quotation moregen: Merged PR #4974 completes inclusion checking for quotes and splices, fixing cases where stage normalisation during generalisation produced unsound unification.

14 repositories · no changes