Thicket thicket
ocaml
REPOS 27
W28.2025 · 7–13 Jul

All repository summaries

13 active · 14 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Fixes

  • Eio documentation: copy-paste example for Eio.Path.save failed in utop because the / operator required explicit module qualification. Issue #812 was opened and closed on 2025-07-08; the corrected form uses Eio.Path.(Eio.Stdenv.cwd env / "bitcask.txt").

ocaml/RFCs

Permalink

Features

  • OCaml RFCs: Open proposal (#55) to add a conflict-of-interest transparency policy to the OCaml Language Committee. Members would report conflicts rather than be excluded from deliberation; an affiliation field would be added to the committee roster.

ocaml/dune

Permalink

Features

  • Dune parameterized libraries (OxCaml): PR opened by @maiste adding implements support for parameterized libraries, guarded behind the OxCaml toolchain. Feature is unavailable until upstreamed to the compiler. #12002

  • Dune TUI editor integration: PR opened by @Alizter adding click-to-open-file in the TUI, launching $EDITOR at the reported source location. Still open; mouse-event handling and compiler-message location extraction remain incomplete. #11992

  • Dune build/exec target unification: Issue opened by @Khady proposing that dune build accept the same target forms as dune exec (public names, .exe suffixes). Aims to remove friction between the two commands. #12008

Fixes

  • Dune Melange runtime_deps: PR opened by @anmonteiro allowing melange.runtime_deps to reference directory targets, resolving a self-dependency cycle during rule loading. Merged after the reporting interval. #12006

  • Dune 3.19.1 ctypes crash: Issue opened reporting an internal link_many: unable to find module error when building a ctypes stanza with --profile release. Reproduced on dune 3.19.1 / OCaml 5.3.0. #12018

  • Dune pkg and dune-site plugins: Issue opened reporting that dune pkg lock does not make dune-site-registered plugins discoverable to dependent executables. Affects dune 3.19.0. #11999

Compatibility and Releases

  • Dune (promote (into ...)) removal: Discussion updated with confirmation the code path is still present and non-idempotent. A Melange user reports heavy reliance on the feature, complicating removal. #5736

  • Dune @ocaml-index over-building: Issue opened by @samoht reporting that dune build @ocaml-index compiles cross-compilation targets and unreferenced files, blocking use in Mirage. Affects Merlin and build-time behaviour. #12007

ocaml/merlin

Permalink

Fixes

  • Merlin #808: merlin-refactor-open on let open List in incorrectly rewrites List.length to length when a local let length () = 12 in shadows the module function. The issue was closed on 2025-07-12; no comments explain the resolution. (#808)

Features

  • Merlin PR #1917: open proposal to improve location reporting for custom operators (:=, reified custom indexing, and a heuristic for other custom indexing). Affects editor navigation and hover accuracy. Updated 2025-07-09; not yet merged. (#1917)

ocaml/ocaml

Permalink

Fixes

OCaml compiler: fixes non-deterministic pattern-matching code generation caused by a global handler-id counter affecting hash-table iteration order. Cherry-picked to 5.4. #14091

OCaml typechecker: fixes an internal error triggered by recursive modules with GADT constraints on zero-arity type constructors. Cherry-picked to 5.4. #14135

OCaml TSAN build: corrects the __tsan_func_exit declaration from void(void*) to void(void), resolving a GCC 15 -Werror build failure. #14082

OCaml recursive modules: reports a long-standing bug (≥ 4.14) where module type of with functor applications is not approximated during recursive module typechecking, producing false type errors. #14140

Features

OCaml Set/Map: speeds up empty-checks by using is_empty instead of cardinal = 0 in the compiler's Flambda and Flambda2 passes. #14119

OCaml error messages: proposes printing GADT equations as hints when error messages reference fresh type variables introduced by those equations. #14142

OCaml record updates: proposes changing the evaluation order of { t with ... } so all non-modified fields are read together, avoiding invariant violations with mutable fields. #14129

Compatibility and Releases

OCaml object system: reports data races in CamlinternalOO per-object state (class initialization, method cache) under TSAN; maintainers confirm the current implementation is not multicore-safe. #14131

ocaml/ocaml-lsp

Permalink

Compatibility and Releases

  • ocaml-lsp: Nix build on master fails; jsonrpc reports yojson not found during the build phase. Opened by DieracDelta, still open. #1544

ocaml/ocaml.org

Permalink

Fixes

ocaml.org changelog RSS: corrects release URLs in changelog.xml that pointed to a non-existent /changelog/release/ path. Merged 2025-07-11. #3211

ocaml.org cookbook: fixes a syntax error in the "Deserialise JSON Data using ppx_yojson_conv" example that failed to compile against yojson 3.0. Merged 2025-07-11. #3212

ocaml.org package pages: renames the "Dune Dependency" field to "dune-project Dependency" to match the actual dune-project stanza it references. Merged 2025-07-11. #3214

Compatibility and Releases

ocaml.org CI (proposal): opens an issue to add a workflow that runs MDX to validate code blocks in tutorials on every PR. Opened 2025-07-11, still open. #3210

Features

ocaml.org blog/video feed: relaxes scrape filters so OxCaml posts and entries using "Caml" are no longer excluded. Merged 2025-07-08. #3204

ocaml.org success stories: adds entries for VCAST, robur, and Imandra (the latter published after a same-day revert and re-merge). Merged 2025-07-08 through 2025-07-11. #3198, #2862, #3206

ocaml.org tutorials: updates the Hashtbl and Option pages with revised section headings, longer introductions, and additional examples. Merged 2025-07-11. #3009, #2986

ocaml.org papers: adds seven OCaml Workshop papers to the site's paper list. Merged 2025-07-09 by @lefessan. #3208

ocaml/odoc

Permalink

Features

  • Odoc Markdown output: Merged PR adds a Markdown backend alongside the existing HTML renderer, enabling use with static-site generators and GitHub. Supersedes the long-open #791. (#1341)
  • Odoc occurrence aggregation: New flag strips compiler paths from occurrence data, so usage counts merge across builds against different compiler versions. (#1367)

Compatibility and Releases

  • Odoc 3.1.0 prep: Version-bump PR merged 2025-07-10, preparing the 3.1.0 release. (#1363)
  • Odoc fpath constraint: Raises the lower bound on fpath to 0.7.3 to avoid a build issue with the result library on dune. (#1365)
  • Odoc / cmdliner 2.0.0: Issue requesting a minor release with patches needed for cmdliner 2.0.0 compatibility; closed 2025-07-10 alongside the 3.1.0 prep. (#1348)

Fixes

  • Odoc local ToC CSS: Corrects a grid-area rule that mispositioned the local table of contents between 800 px and 1600 px when no global ToC is present. Fixes #1335. (#1361)
  • Odoc voodoo-mode occurrences: Fixes occurrence counting in odoc_driver voodoo mode, enabling occurrence data collection in docs-ci. (#1362)
  • Odoc odoc_driver occurrences: Additional occurrence-tracking corrections in the driver. (#1366)

ocaml/opam

Permalink

Features

  • opam (PR #6283): Proposes an 8× speedup for opam update when the repository is unchanged, reducing time from ~3.5 s to ~0.4 s. Still open and marked WIP.

  • opam (PR #6515): Reduces GC pressure in version comparison and repository-state unmarshalling, cutting opam show time from ~900 ms to ~380 ms on OCaml 5.4. Still open.

  • opam (PR #6596): Adds opam admin compare-versions to the manual for improved discoverability. Opened by mbarbin.

Compatibility and Releases

  • opam 2.5.0~alpha1~dev: Version number bumped to 2.5.0~alpha1~dev, marking the start of the 2.5 development cycle. Merged 2025-07-07 (#6585).

  • opam Windows bootstrap (PR #6592): Proposes updating FlexDLL to 0.44, msvs-detect to 0.7.0, and mingw-w64 to 13.0.0 for Windows builds. Open; maintainer notes it targets 2.5 rather than the already-branched 2.4.

  • opam release process (PR #6591): Reworks the release procedure as an alternative to #6308. Opened 2025-07-07.

ocaml/opam-repository

Permalink

opam-repository: No merges, closures, or new package submissions are evidenced within the 2025-07-07 to 2025-07-14 interval. The sole supplied record (PR #27694, "UPDATE Pds to 6.55") was opened on 2025-03-30 and remained open; its only comment is undated, so no in-interval event can be established.

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml: Merged loop-exiting edge elimination (#2075) and early exit for leading loops (#2077), reducing unnecessary control-flow edges in generated code.
  • js_of_ocaml: Open PR #2047 adds dune build support for shapes, building on #1594.

Fixes

  • js_of_ocaml: Updates the reserved-keyword list to match current ECMAScript; removes keywords no longer reserved and deduplicates this (#2071).

Compatibility and Releases

  • js_of_ocaml 6.1.1: Bug-fix release correcting shape loading (#2074, release).
  • js_of_ocaml: PR #2079 (constant-sharing experiment) opened and closed unmerged on 2025-07-10.

oxcaml/merlin

Permalink

Features

  • Merlin (oxcaml): PR #157 opened 2025-07-08 proposes reordering Completion.completion_order so modules rank above types in expression contexts. The discussion considers removing types entirely from expression completions but settles on reordering only, to avoid regressions in ppx and [%sexp_of: t] positions.

oxcaml/oxcaml

Permalink

Fixes

  • OxCaml simdgen: SEGV on CPUs lacking BMI instructions resolved by detecting availability at configure time (PR #4280). Issue #4267 closed 2025-07-10.

Compatibility and Releases

  • OxCaml build (PR #4292): Proposes replacing the hard link to ocamllex in make boot-_install with a symbolic link to fix cross-device builds. Opened 2025-07-11; merged after the reporting interval.

Features

  • OxCaml jkinds (PR #4273): Enriches Mode.Crossing and applies the new types across jkind definitions; typing overhead measured at ~1%. Open, not merged.
  • OxCaml Flambda2 CSE (issue #3181): Original missed-CSE case resolved by PR #4144; a more complex scoping variant with nested pattern matches still reproduces the issue. Ongoing.
14 repositories · no changes