Thicket thicket
ocaml
REPOS 27
W42.2025 · 13–19 Oct

All repository summaries

14 active · 13 unchanged

Back to weekly digest

ocaml/RFCs

Permalink

Features

  • OCaml RFCs #57: proposes labeled and 0-indexed tuple projections (e.g. x.tuple, x.3). Still open; discussion notes row-polymorphic tuples are out of scope. PR

ocaml/dune

Permalink

Features

  • dune pkg search: new dune pkg search <query> command lists matching packages from configured repositories, showing the highest non-avoid-version version and synopsis. Merged in #12547.

  • Parameterized libraries (OxCaml): PR #12561 (open) adds instantiation of parameterized libraries via (my_lib arg1 arg2 :as new_name) in dependencies. Requires OxCaml compiler support; not yet available in upstream OCaml.

  • dune describe tests: PR #12545 (open) adds a subcommand printing name, source dir, package, enabled status, and build target for each test and cram stanza.

  • Cram setup_scripts: issue #12570 (open) proposes a (setup_scripts foo.sh bar.sh) field in the cram stanza to auto-source helper scripts in every test in a directory.

Fixes

  • dune tools install: dune tools install <pkg> now works without setting DUNE_CONFIG__LOCK_DEV_TOOL=enabled. Merged in #12575; fixes #12574.

  • Merlin config for parameterized libraries: the -parameter flag and parameter .cmi paths are now included in the generated .merlin file. Merged in #12550; fixes #12546.

  • dune lang version bump: changing the (lang dune ...) version in dune-project no longer triggers a full compiler rebuild. Merged in #12556; fixes #12131.

  • Duplicate lock dirs and repositories: dune-project now rejects duplicate lock-directory definitions and duplicate repository names with a clear error. Merged in #12549 and #12548; fixes #9356.

ocaml/merlin

Permalink

Fixes

  • Merlin completion: ocamlmerlin single complete-prefix returns empty entries for inlined record fields in sum-type constructors; indirect type references work correctly. #1977, opened by trefis.
  • Merlin completion: PR proposes a fix for inlined record label completion, addressing the issue above. #1978, opened by voodoos, not yet merged.

Features

  • Merlin operator locations: PR improves source-location reporting for custom operators (:=, custom indexing) in editor integrations. #1917, opened by WardBrian, still open.

ocaml/ocaml

Permalink

Features

  • OCaml trunk: Merged PR adds caml_c_thread_register_in_domain, letting C threads register in a chosen domain instead of always domain 0. The target domain must be running. #14275
  • OCaml trunk (proposal): Open PR adds -launch-method, -runtime-search, and --enable-suffixing for relocatable bytecode executables. Binaries locate ocamlrun relative to their own directory before searching PATH. #14245
  • OCaml trunk (proposal): Open PR adds a -typing-recovery flag so the type checker continues past the first error and reports all type errors in a file. #14241

Compatibility and Releases

  • OCaml trunk: Merged PR switches the compiler's internal CRC from MD5 to Blake128. No user-facing API change; affects only .cmi checksums. #13913
  • OCaml trunk (proposal): Open PR makes Hashtbl seeded by default unless OCAMLRUNPARAM includes R=0, changing iteration order for all unseeded tables. #14291
  • OCaml trunk (proposal): Open PR changes x |> f y to typecheck as (f y x) rather than ((f y) x), affecting code with optional or labelled arguments. #14286

Fixes

  • OCaml trunk: Merged PRs replace hash-table iteration with ordered maps in the type checker and translobj, producing deterministic .cmi output and reproducible builds. #14297 #14299
  • OCaml trunk: Open issue reports a data race between the major-heap allocator and Statmemprof during minor GC, visible under ThreadSanitizer. Two fix PRs are open. #14300 #14304 #14306

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp (PR #1564): Proposes autocompletion for labelled arguments, triggered by : in function applications. Open; discussion ongoing on trigger scope and configurability.
  • ocaml-lsp (PR #1528): Adds ocamlformat-mlx formatting and most OCaml LSP features for .mlx files. Open; awaiting re-review.

Fixes

  • ocaml-lsp (PR #1565): Fixes view-metrics duration field always reporting 0 by switching from Unix.time to Unix.gettimeofday. Open.
  • ocaml-lsp (PR #1563): Falls back to .merlin files when no dune-project is found, fixing issue #1522. Open.

Compatibility and Releases

  • ocaml-lsp (issue #1052): Closed the tracking issue for upstreaming the Merlin fork patches (monadic IO, Spawn over Sys.command).
  • ocaml-lsp (PR #1210): Closed without merging the configurable Merlin cache retention period flag.

ocaml/ocaml.org

Permalink

Features

  • ocaml.org Backstage OCaml: merged post announcing the upcoming ocaml.nvim Neovim plugin for OCaml development. (#3372)
  • ocaml.org Backstage OCaml: merged "Gospel Ecosystem: Tools Ready to Try, Language Evolving" post covering current ecosystem tooling. (#3352)

Compatibility and Releases

  • ocaml.org build system: ongoing migration from opam-based builds to Dune Package Management; requires dune >= 3.20. Still open; contributors must delete existing opam switches and run make after the merge. (#3281)

Fixes

  • ocaml.org package pages: the "On this page" table-of-contents sidebar no longer consumes horizontal space on mobile layouts. It moves into the navigation menu. (#3369, fixes #3367)
  • ocaml.org graph example: corrected a missing entry in the adjacency list representation of the graph diagram. (#3371)

ocaml/ocamlfind

Permalink

Fixes

  • ocamlfind PR #112: Open PR by dra27 fixing Windows build failures with OCaml 5.0+ on Cygwin and MSYS2. Addresses findlib.conf misgeneration that breaks ocamlfind list and topfind, plus an incorrect META.pkg check in ocamlfind install. Link

ocaml/odoc

Permalink

Features

  • Odoc markdown-generate: now accepts multiple .odocl files as input; html-generate also accepts multiple inputs. Merged 2025-10-16. #1388
  • Odoc CLI: markdown-generate and markdown-generate-source moved from the Compilation pipeline to the Alternative generators section in the man page. Merged 2025-10-16. #1387
  • Odoc Markdown output: the long-standing feature request was closed as resolved by #1341. Closed 2025-10-15. #709

Compatibility and Releases

  • Odoc hidden attribute: the proposal to add a @hidden attribute was closed without merging. Closed 2025-10-14. #950

ocaml/opam

Permalink

Features

  • opam 2.5.0~alpha1: released 2025-10-16. Version bumped to 2.6.0~alpha1~dev the following day. Release PR, version bump.

Compatibility and Releases

  • opam 2.4.1 / cmdliner 2.0.0: opam fails to compile against cmdliner 2.0.0 (Unbound value Term.info). The short-term plan is to vendor cmdliner 1; a constraint pinning cmdliner < 2.0.0 was added. #6739, #6425.

  • opam install script (Ubuntu 24.04): an AppArmor profile is now installed alongside opam, resolving bwrap: operation not permitted failures caused by restricted unprivileged user namespaces. #6647.

Fixes

  • opam init (bash): now writes the opam incantation to ~/.bashrc instead of ~/.profile, and advises sourcing .bashrc from .profile. Eliminates the infinite-sourcing loop on Debian-family systems. #6603.

  • opam env / init scripts: variables.sh is no longer sourced when OPAM_SWITCH_PREFIX is already set, preventing PATH and MANPATH duplication in subshells and editor terminals. PR #6729.

  • OPAMFETCH: the value is now tokenised with POSIX shell quoting rules, so OPAMFETCH='wget --header "Authorization: token …" …' passes the header as a single argument. #5492.

  • opam remove --force: no longer executes remove commands in the current working directory when the target package is not installed. #6672.

  • opam upgrade: packages whose opam file has empty-but-present build, runtest, install, or remove fields are no longer flagged for recompilation. #6505.

ocaml/opam-repository

Permalink

Features

  • Rocq 9.1.0: merged to opam alongside 9.0.1; coq-lsp and vsrocq-language-server marked incompatible with 9.1. #28706
  • Catala 1.0.0~beta: open PR adding catala, catala-lsp, and catala-format for deriving algorithms from legislative texts. #28723
  • Fmlib 0.6.0: open PR with breaking syntactic changes (module and function renames) across fmlib_browser, fmlib_pretty, and fmlib_parse. #28732
  • Sail 0.20: merged 13 packages; core semantics extracted from Rocq, new C++ backend added, --c-static option removed. #28713

Fixes

  • base 0.14.3: checksum mismatch fixed by updating the patch source URL; issue #28705 closed 2025-10-14. #28718
  • ppx_yojson: upper bound on ppxlib set to 0.36.2 to avoid test failures from a source-output format change. #28717

Compatibility and Releases

  • ppxlib 0.37.0: merged; ppx_yojson and merlin flagged as needing lower bounds for the new version. #28686
  • ppx_import 1.12.0: merged; adds OCaml 5.4 support and removes support for OCaml 4.5, 4.6, and 4.7. #28715
  • New package submissions: otp.0.2, dockerfile.8.3.3, oglsl.0.1.0, handlebars-ml.0.2.0, and huml.v0.1.1 are open for review. otp, dockerfile, oglsl, handlebars-ml, huml

ocsigen/js_of_ocaml

Permalink

Fixes

  • Js_of_ocaml: Merged fix for a fatal "Some variables escaped" assertion in release-mode builds using -linkall libraries. Resolves #2106 via #2107.

  • Js_of_ocaml: Merged improved NaN handling in the compiler. #2110

  • Js_of_ocaml (Wasm): Merged fix avoiding tail calls to JavaScript primitives in the bigarray runtime, restoring inlined optimized code. #2112

Features

  • Js_of_ocaml (Wasm): Open proposal to expose the JavaScript eval function in the Wasm runtime. Discussion covers parity with the JS backend and edge cases. #2108

  • Js_of_ocaml (Wasm): Open WASI runtime support via wasm_of_ocaml --enable wasi, producing binaries runnable by Wizard or wasmtime. #1831

  • Js_of_ocaml: Open proposal adding Oxcaml as a supported compiler backend. #2105

Compatibility

  • Js_of_ocaml: Open PR to run CI tests under OCaml 5.4; blocked on ppx_expect compatibility with ppxlib.0.37. #2103

  • Js_of_ocaml: Open PR to consume type hints produced by OCaml PR #13438, updated during this interval. #1721

oxcaml/merlin

Permalink

Compatibility and Releases

  • OxCaml Merlin: merges OCaml 5.2.0minus-22 into the OxCaml fork. Renames the flambda-backend source-import target to oxcaml and adds CamlinternalQuote so the tree builds without the OxCaml compiler. #191 (merged 2025-10-14, by mshinwell)

oxcaml/opam-repository

Permalink

Fixes

  • oxcaml/opam-repository PR #20: proposes removing the [%%if] patch for the jsoo toplevel, as the bundled jsoo may already use a ppx_optcomp version that supports that syntax. The patch was previously removed in PR #7 but reappeared and breaks the build. Open, by patricoferris. Link

  • oxcaml/opam-repository PR #19: proposes reapplying the jsoo iarray patch after a likely commit mismatch in the js_of_ocaml dependency. Open, by patricoferris. Link

oxcaml/oxcaml

Permalink

Features

OxCaml preemption: Open PR introducing a preemption effect for the runtime, enabling the scheduler to suspend long-running computations. Pairs with the %resume continuation change below. (#4881)

OxCaml %resume primitive: Open PR changing %resume to accept a continuation directly rather than unpacked fields, moving unpacking into the assembly stub and bytecode interpreter. Paves the way for a gc_regs field needed by the preemption effect. (#4901)

OxCaml Flambda2 join analysis: Merged change exposing per-variable join definitions (SSA phi-equivalents) from the n-way join into the downwards environment, enabling a more precise match-in-match heuristic in simplify. (#4821)

OxCaml bits8/bits16 kinds: Merged change allowing the erasable bits8 and bits16 kinds without the small_numbers extension, simplifying library integration while keeping int8/int16 literals gated. (#4898)

OxCaml exception modes: Open PR extending the mode system so exceptions cross statefulness and visibility, mirroring the existing portability and contention rules, to permit throwing from stateless functions. (#4891)

Fixes

OxCaml quotation evaluation: Merged fixes for runtime quotation splicing, including correct handling of Id_prim identifiers and narrowed exception catching during eval. (#4896)

OxCaml debugger location info: Merged change refining the location information emitted for pattern-match cases, improving step granularity and program-counter reporting in the debugger. (#4884)

OxCaml @@ global soundness: Open PR adding a syntactic check that @@ global implies @@ aliased and forbids @@ global unique, closing a borrowing-soundness gap in the mode system. (#4889)

13 repositories · no changes