Thicket thicket
ocaml
REPOS 27
W49.2025 · 1–7 Dec

All repository summaries

14 active · 13 unchanged

Back to weekly digest

ocaml/RFCs

Permalink

Features

  • OCaml RFC #59: open proposal for val declarations in structures, updated 2025-12-01. An undated comment suggests a grammar rule allowing val before let in one item, noting a parser-breaking change. Link

ocaml/dune

Permalink

Features

  • Dune 3.21: allows dune variables such as %{workspace_root} in (promote (into ...)) paths. Previously these were rejected with "Atom or quoted string expected." (#12832)
  • Dune (proposal): a new (files) stanza would let users exclude build artifacts from source-tree scanning, easing compiler development with Dune. (#12879)
  • Dune: dune init proj now adds (libraries <project>) to the generated test stanza so tests compile against the library by default. (#12791)

Compatibility and Releases

  • Dune pkg (proposal): unifies all caches under DUNE_CACHE_ROOT, changing the default location of git-repo, toolchain, and rev-store caches. Breaking for existing setups. (#12858)
  • Dune 3.21.0~alpha0: alpha release tagged 2025-12-05. (release)

Fixes

  • Dune pkg: memoizing per-context values cuts dune build time from ~5.4 s to ~1.1 s on a representative project. (#12848)
  • Dune pkg: dune build @fmt now finds ocamlformat installed via dune tools install by checking the existing dev-tool lock directory. (#12847)
  • Dune pkg: packages built with the substitute action no longer rebuild after unrelated environment variable changes. (#12825)
  • Dune: non-ASCII characters in (lang dune ...) or (using ...) version strings now produce a precise single-caret error instead of a greedy or generic message. (#12844, #12869)

ocaml/merlin

Permalink

Fixes

  • Merlin: merged fix for Mocaml.with_printer not updating replacement_printer_doc, correcting mixed OCaml/Reason type rendering in ocaml-lsp hover. (#2010)
  • Merlin: issue #1910 closed; "Jump to definition" failure for ppx_deriving-generated functions is a ppx_deriving.create bug, not a Merlin defect. Fix tracked in #297. (#1910)

Features

  • Merlin: open PR proposes restricting signature-help to function parameters only, suppressing the response when the cursor is on the function name. (#1997)
  • Merlin: open draft PR proposes triggering signature-help on unfinished let ... in bindings. (#2009)

Compatibility and Releases

  • Merlin: open PR patches ocamlmerlin.c for BSD sockaddr_un size computation and Windows error reporting via GetLastError. (#1998)
  • Merlin: ocamlformat update to 0.28.1 closed without merge; a formatting bug in that version blocks adoption until 0.28.2. (#2011)

ocaml/ocaml

Permalink

Features

OCaml trunk: Merged support for arbitrary structure items in let expressions, excluding let bindings and include. #14040

OCaml trunk: Modular explicits (fun (M : S) -> ...) proposed as a new language feature for dependent functions over module parameters. #13275

OCaml trunk: Relocatable OCaml series adds --with-relative-libdir, -runtime-search, and name-mangling for bytecode interpreters and shared libraries. #14244, #14245

Fixes

OCaml toplevel: Merged fix so that ocaml -init <file> -e <expr> now evaluates the init file before the -e expression. #14190

OCaml Unix library: Proposed fix for incorrect addr_len calculation in caml_unix_get_sockaddr for pathname sockets, affecting Haiku. #14406

Compatibility and Releases

OCaml trunk: Proposed removal of let rec (module M) = ..., an undocumented construct; replacement via let module rec in #14040. #14388

OCaml Stdlib: Proposed change to Filename.quote and Filename.quote_command to quote only when necessary per POSIX.1-2024, with a ?always:bool parameter for backward compatibility. #14378

OCaml bytecode: Proposed -bytecomp-hints flag to embed lambda optimization hints (immutability, bigarray layout) in bytecode for Js_of_ocaml and Wasm_of_ocaml. #13438

ocaml/ocaml-lsp

Permalink

Compatibility and Releases

  • ocaml-lsp-server 1.23.1: opam installation fails on Lubuntu 25.10 and Debian Trixie (opam 2.3.0, OCaml 5.3.0) due to missing camlp-streams and unbound Stream module. A comment notes the build succeeds with opam 2.5.0 and ocaml-base-compiler.5.4.0 from upstream. Issue remains open. (#1571)

ocaml/ocaml.org

Permalink

Features

  • ocaml.org docs (PR #3407): Adds a new page in the infrastructure section describing the opam-repository, improving discoverability of the package repository for visitors exploring OCaml.org. Open, not yet merged. Link

  • ocaml.org data (PR #3411): Adds FUN OCaml 2025 conference data to the site. Open, not yet merged. Link

ocaml/ocamlfind

Permalink

Fixes

  • ocamlfind PR #112: Open PR (updated 2025-12-01) addressing Windows build failures with OCaml 5.0+ on Cygwin and MSYS2, including findlib.conf path escaping and an ocamlfind install META.pkg check. (#112, by dra27)

ocaml/odoc

Permalink

Fixes

  • odoc: Open issue reports that modules produced by functor applications omit documentation comments present in the functor body. Affects odoc compile and odoc html-generate output. #1394

ocaml/opam

Permalink

Fixes

  • opam (PR #6823, merged): The install script skips installing a local AppArmor profile when BINDIR=/usr/bin, avoiding a conflict with the distribution's built-in opam profile. Fixes sandboxing failures on Neon. Link
  • opam (PR #6818, merged): opam show reduces redundant I/O when multiple package versions exist, yielding a 4–21% speedup on ocaml-benchmarks. Merged by @rjbou. Link
  • opam (PR #6829, open): A fix for confirmation prompts in dumb terminals (e.g. Emacs M-x shell) reads full lines instead of using termio non-canonical mode. PR #6830 proposes a broader simplification of the input method. Link

Features

  • opam (PR #6812, open): opam env would set XDG_DATA_DIRS and FPATH so that bash-completion and zsh completion scripts from installed packages are discovered automatically. Link
  • opam (PR #6625, WIP): A draft restructures HTTP repository handling to read the downloaded tar.gz in place rather than extracting it, targeting a major reduction in opam update and opam init time. Link
  • opam (PR #6826, open): The builtin-0install solver would order root and pinned packages first to reduce unnecessary downgrades during opam upgrade. A breadth-first search variant of 0install-solver is under discussion. Link

Compatibility and Releases

  • opam (issue #6825, closed): The change in extra-files permissions (no longer executable by default) is confirmed as intended since opam 2.4.0. The long-term plan is to replace extra-files with extra-sources in opam 3.0. Link
  • opam (PR #6827, open): Splits the deprecated url and descr file-format code into separate legacy submodules, a prerequisite for requiring a manual format upgrade to read those files. Link

ocaml/opam-repository

Permalink

Features

  • coq-lsp 0.2.5: Merged for Coq 8.20, 9.0, and 9.1. Adds rocq-checkdecls, --save_vof/--load_vof, and drops OCaml 5.0–5.2 and Coq 8.17–8.19. PR
  • Frama-C 32.0-Germanium: Open PR for a major release adding C23 alignment support, the \aligned predicate, an experimental sandbox mode, and a multi-taint Eva domain. PR
  • cohttp 6.2.0: Open PR adding forward-proxy support to cohttp-eio and exposing the IO module in cohttp-lwt for error handling. PR

Compatibility and Releases

  • quickjs 0.4.0: BREAKING: migrates from bellard/quickjs to quickjs-ng, the community fork with Unicode 17.0.0 support. Merged 2025-12-03. PR
  • tyre 1.0: BREAKING: reworks the type system with (evaluable, 'a) Tyre.t and (non_evaluable, 'a) Tyre.t; alt changes type, callers must switch to either. Open PR. PR
  • lwt 6.0.0-beta01: Open PR for a beta of the 6.0 series, introducing lwt_direct and lwt_ppx packages alongside the core library. PR
  • mazeppa 0.7.2: New package merged 2025-12-08. A supercompiler for call-by-value functional languages. PR
  • html_of_jsx 0.0.7: Open PR. BREAKING: removes the JSX.Debug module; adds compile-time static HTML optimization with a -no-static-opt flag. PR

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml runtime: Merged PR #2086 adds direct access to values exported in the runtime, addressing LexiFi/gen_js_api#177.
  • js_of_ocaml runtime: Merged PR #2132 applies various runtime improvements in preparation for Deno support.
  • js_of_ocaml Wasm: Open PR #2108 proposes exposing the JavaScript eval function in the Wasm runtime.
  • js_of_ocaml stdlib: Open PR #2070 adds Intl.RelativeTimeFormat bindings per the ECMA-402 specification.

Compatibility and Releases

  • js_of_ocaml number type: Issue #2136 reports that the new number type (from #1650) breaks compilation of existing code. The reporter asks for migration guidance or a switch to retain old behaviour.
  • js_of_ocaml build: Open PR #2134 adds a dependency on conf-binaryen. Comments note the dependency and its version constraint require documentation.
  • js_of_ocaml shapes: PR #2047 for Shapes with Dune support was closed on 2025-12-04 without merge.

oxcaml/merlin

Permalink

Features

  • Merlin (oxcaml): Merged LSP type-hover support for jkind abbreviations, letting editors display the expanded form of an experimental OCaml kind abbreviation on hover. #200

Fixes

  • Merlin (oxcaml): Merged a test that enumerates compiler flags Merlin does not parse; roughly 30 previously unrecognised flags were added to the ignored list to keep flag handling in sync with the compiler. #202

oxcaml/opam-repository

Permalink

Features

  • OxCaml Dune build: Open PR proposes unsetting INSIDE_DUNE before the compiler build to restore multi-threaded concurrency under Dune package management. Reduces build time from ~32 min to ~14 min for a sample project. (#25, by Sudha247)

Compatibility

  • OxCaml odoc-parser: Open PR adds a patch replacing symlinks with file copies so odoc-parser builds under Dune package management, which does not yet support symlinks. Related upstream: #9873, #1392. (#22, by Sudha247)

oxcaml/oxcaml

Permalink

Features

  • OxCaml abstract kinds: PRs #5070 and #5071 (open) introduce abstract kind declarations and kind aliases as a three-part series. Module-level with kind_ = ... constraints follow in a third PR.

  • OxCaml scannable axes: #5031 (merged) ports separability to a scannable axis, renaming the base sort to Scannable. #5086 (open) extends the same treatment to nullability; #5095 (open) adds non_pointer64 to correct an immediate64 oversight.

  • OxCaml name mangling: #5099 (open) adds a reversible mangling scheme reconstructing full module paths from mangled names. Companion PRs #5097, #5098, #5096, and #5100 cover configuration, debug tracking, and a pure-OCaml demangler.

  • OxCaml AVX2 gather: #5040 (merged) adds AVX2 gather intrinsics using a reg + vec[..] * scale + displ addressing mode. The backend handles Regfs indices; gathers are not address-sanitized.

  • OxCaml reaper: #5081 (merged) adds an "auto" mode for direct call preservation. #5043 (merged) introduces type rewriting for local value slots, disabled by default pending internal testing.

  • OxCaml quotations: #5094 (open) inserts type annotations on records and variants under quotes where disambiguation occurred. #5090 (open) restructures Translquote.quote_expression_desc to support annotations inside compound terms.

Fixes

  • OxCaml flambda2 inliner: #5093 (open) corrects the speculative-inlining heuristic so value-kind arguments are treated as non-useful. This restores the intended behaviour after value_not_null became a super-kind of value, preventing spurious inlining.

  • OxCaml flambda2 documentation: #5082 (open) introduces an "Encyclopædia of Optimizations" documenting flambda2 middle-end passes with copy-pasteable examples. Coverage is partial; match-in-match documentation awaits its enabling PR.

13 repositories · no changes