Thicket thicket
ocaml
REPOS 27
W21.2025 · 19–25 May

All repository summaries

14 active · 13 unchanged

Back to weekly digest

janestreet/opam-repository

Permalink

Features

OxCaml with-extensions (dune pkg): Merged 2025-05-20, restructures the repository layout so dune pkg can resolve packages from the with-extensions branch without opam switches. Removes init-* bootstrap packages from the default $PATH to avoid stale binaries. #54

OxCaml with-extensions (mdx 2.5.0): Opened 2025-05-20, adds mdx 2.5.0 to the OxCaml repository with AST and type changes required by the extended compiler. Merged 2025-05-27, outside this interval. #56

Compatibility and Releases

OxCaml with-extensions (POSIX scripts): Merged 2025-05-23, replaces /bin/bash with /usr/bin/env bash in repository scripts for NixOS and other non-standard layouts. #57

Fixes

OxCaml uniqueness mode: Issue closed 2025-05-22 reporting that @ unique annotations produce different diagnostics in the LSP versus dune build; the LSP accepts a valid unique use that dune build rejects as "aliased." No fix is recorded in the issue. #44

OxCaml with-extensions (build failures): Three issues—alcotest 1.9.0, odoc 2.4.2, and utop—closed 2025-05-22 after the repository update to OCaml 5.2.0-minus-9 resolved the compilation errors against the extended compiler. #41, #35, #39

OxCaml with-extensions (arm64 effects): PR closed 2025-05-22 without merge; the arm64 local-stack corruption for effects was superseded by the repository's upgrade to 5.2.0-minus-9. #45

ocaml-multicore/eio

Permalink

Features

  • Eio (PR #802): Adds process-group support to the Unix fork backend, providing setpgid plumbing for child processes. Opened by patricoferris; not yet merged.
  • Eio (PR #803): Adds setuid and setgid fork actions so a root process can spawn children as a different user or group. Opened by patricoferris; not yet merged.

Compatibility and Releases

  • Eio (PR #716): Mutex-wrapping higher-order functions (converting a -> b into a mutex-guarded variant) were closed without merging. The proposal addressed issue #336.

ocaml-multicore/picos

Permalink

Features

Picos (ocaml-multicore): four open PRs were updated on 2025-05-19; no merges or closures occurred in the interval. The updates contain no new comments or state changes in the supplied data, so the specific edits are not identifiable.

Picos – actor model example (PR #273): ongoing proposal by polytypic adding an actor-model implementation to the Picos multicore runtime. Open questions remain on unhandled-exception semantics and messaging to terminated processes.

Picos – priority scheduler example (PR #288): ongoing proposal by polytypic adding a priority-based scheduler example. Marked WIP in the PR body.

Picos – Picos_std_sync.Queue (PR #302): ongoing proposal by polytypic adding a queue type to the Picos_std_sync library. No description or API details provided in the record.

Picos – cohttp server example (PR #268): ongoing proposal by polytypic adding a minimal HTTP server example built on cohttp. No description provided.

ocaml-multicore/saturn

Permalink

Features

  • Saturn (ocaml-multicore): Merged PR #185 updates queue and stack benchmarks to use heap-allocated blocks instead of immediate values. This exposes write-barrier costs that immediate-only benchmarks partially hide, making concurrent data-structure comparisons more realistic.

ocaml/dune

Permalink

Features

Dune 3.19.0: Adds an (extra_objects) field to the (foreign_library) stanza with (:include) support. Release notes

Dune 3.19.0: Detects and warns on common typos in package dependency constraints. Release notes

Dune 3.19.0: Allows concurrent builds alongside the RPC server and handles build RPC messages in eager watch mode. Release notes

Dune (PR #11826): OxCaml testing suite support opened by @maiste; adds a %{oxcaml_supported} variable for conditional test activation. Not yet merged. PR

Fixes

Dune 3.19.0: Fixes dune subst failing in subdirectories of a git repository. Release notes

Dune 3.19.0: Passes pkg-config extra arguments in all invocations, resolving a missing --personality flag that prevented pkgconf from finding libraries. Release notes

Dune 3.19.0: Prevents cram tests attached to multiple aliases from running multiple times. Release notes

Compatibility and Releases

Dune 3.19.0: Released 2025-05-21; 3.19.0~alpha0 cut 2025-05-20 with identical changelog. Release · Alpha

ocaml/merlin

Permalink

Compatibility and Releases

Merlin 504 branch: reports a compiler version mismatch when paired with OCaml 5.4, disabling language support until resolved. Reported by @kit-ty-kate in #1937.

Merlin OCaml 5.4 upgrade: open PR by @voodoos to bring the 504 branch current with OCaml 5.4; the change requires more than bumping magic numbers. See #1938.

ocaml/ocaml

Permalink

Features

OCaml cross-compilation: configure now accepts *-none and *-elf* target triplets for native freestanding targets, enabling cross-compilation for MirageOS unikernels. Merged in #13810.

Lazy.Atomic_repeating (proposal): new stdlib submodule for concurrency-safe deferred computations; concurrent force calls may repeat the computation but always return the same value. Open in #14043.

Modular explicits (proposal): functions parametrized over a named module whose return type may depend on that module, e.g. fun (M : S) -> .... Open in #13275; original PR #9187 closed in its favour.

Field getter syntax (proposal): introduces (.foo) as syntactic sugar for fun x -> x.foo, with type-directed disambiguation and long identifiers. Open in #14042.

Fixes

OCaml runtime: fixes a race in domain_terminate where the shared heap was orphaned after leaving the STW set, causing GC compaction to operate on missing pools. Merged in #14025; cherry-picked for 5.4.

OCaml typing: Ctype.expand_abbrev_gen now sets the scope of non-variable type nodes when expanding abbreviations in principal mode, rather than relying on recursive update_scope. Merged in #13781.

OCaml compiler: fixes a bug where caml_sys_argv called directly was incorrectly matched by the External special case in Translprim, adding a spurious argument. Merged in #10570.

Compatibility and Releases

Unix.kill (Windows): processes killed via Unix.kill now report exit code 137 (128 + SIGKILL) instead of 0. Merged in #14046; technically breaking but treated as a bug fix.

ocaml/ocaml-lsp

Permalink

Fixes

ocaml-lsp: uncaught exception in lsp/src/import.ml crashes the LSP on typing spaces or newlines. Fixed in #1525; issue #1531 closed 2025-05-24.

Features

ocaml-lsp outline generation: #1529 (opened, not merged) delegates outline generation to Merlin, replacing the in-house implementation. Position reporting and item-kind values change, altering VS Code icons for instance variables.

ocaml-lsp .mlx formatting: #1528 (open) adds ocamlformat-mlx as the formatter for .mlx files in the LSP.

ocaml/ocaml.org

Permalink

Features

  • ocaml.org package docs: PR #3124 (opened) adopts odoc 3 output from the new doc-ci pipeline for the package documentation area, adding a global sidebar, source code pages, and URL redirections.

Fixes

  • ocaml.org books page: Issue #3112 reports a server crash when a book cover path is not registered as media, causing the /books endpoint to abort with an Invalid_argument exception.

ocaml/odoc

Permalink

Features

  • odoc #1344: Proposes {ab KEY | Full Name} syntax for abbreviations in odoc markup, with optional glossary generation for non-HTML outputs. Opened by toastal. Link
  • odoc #1343: Proposes that the (packages ...) field in odoc-config.sexp also enables module references, removing the need for a separate (libraries ...) entry. Opened by panglesd; not yet merged. Link
  • odoc #329: Ongoing enhancement to add CSS classes and spans to @-tag markup, replacing <dl> lists for easier styling. Updated within the interval. Link

Compatibility and Releases

  • odoc #1339: odoc 3.0.0 fails to build against OCaml 5.4 due to parsetree changes (Tpat_alias arity, pack_path removal). Still open; blocks testing packages on OCaml 4 via dune. Link

ocaml/opam

Permalink

Fixes

  • opam --deps-only: opam install --deps-only pkg no longer creates a virtual conflict with pkg, preventing unintended removal of an already-installed version. Opened by rjbou; merged 2025-06-18. #6520
  • opam pinned packages: fixes a bug where simulated pinned packages incorrectly trigger a reinstall. Opened by rjbou on 2025-05-23; merged 2025-06-06. #6522

Compatibility and Releases

  • opam Cygwin: embeds setup.exe as a fallback for dependency installation on Cygwin. Opened by rjbou on 2025-05-23; closed without merge on 2025-06-05. #6523

ocaml/opam-repository

Permalink

Compatibility and Releases

  • OCaml 5.4.0: Meta-issue opened tracking build readiness for platform tools (opam, dune, merlin, odoc, ocamlformat) and ecosystem packages (ppxlib, utop, ocamlfind, dune-release). #27916

Features

  • opam-repository CI: Proposal to add a Windows MSys CI workflow alongside the existing MinGW pipeline, motivated by a discovered pkg-config executable naming difference on MSys. #27914

Ecosystem

  • opam-repository maintainership: The open recruitment issue (serving 4400+ packages) received a new expression of interest from a contributor; the comment is undated so its exact timing within the interval is unconfirmed. #27740

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml inlining pass: merged a rewrite of the inlining pass. Internal Bonsai benchmarks show 50–80% faster execution; binary size increases <1% in separate compilation. (#1935)
  • js_of_ocaml compiler: opened a PR to reuse the inline cache during full size computation. Merged 2025-06-06, outside this interval. (#2014)

Compatibility and Releases

  • js_of_ocaml build: merged an update to require dune 3.19. (#1957)

Fixes

  • js_of_ocaml runtime: fixes caml_utf8_of_utf16 emitting a replacement character instead of the correct code point for the high surrogate 0xdbff. Also corrects two related comparison errors. (#2008, #2006)
  • js_of_ocaml compiler: merged a fix so deadcode elimination no longer preserves a tail-call variable when the expression is impure but the variable is unused. (#2010)
  • js_of_ocaml compiler: merged a fix for an invariant violation in the compilation pipeline. (#2009)
  • js_of_ocaml build: merged a fix for warn-error causing build failures in .js dune special directories. (#2007)
  • js_of_ocaml compiler: opened a PR addressing unused blocks left by the effects pass and dead closures missed during inlining in recursive cycles. Closed without merge on 2025-05-27. (#2013)

oxcaml/oxcaml

Permalink

Features

  • OxCaml (PR #4020, open): Proposes automatic reordering of module fields to lift the value-only restriction, enabling mixed modules containing unboxed floats and SIMD vectors. New module_representation types thread through typing, lambda, and flambda2. Link

Compatibility and Releases

  • OxCaml documentation: Contributors clarify that OxCaml preserves OCaml's domain concept unchanged and distinguish domains from capsules when explaining non portable safety properties. Link
  • OxCaml documentation: The _unique allocation keyword appeared only in uniqueness/pitfalls with no cross-reference from uniqueness/intro or uniqueness/reference; issue closed same day. Link

Fixes

  • OxCaml runtime4: GCC 15.1.1 rejects runtime4 compilation due to conflicting extern declarations for caml_get_public_method and caml_set_oo_id. Upstream OCaml #12700 resolves the issue; the fix is already present in runtime5. Link
13 repositories · no changes