Thicket thicket
ocaml
REPOS 27
W18.2025 · 28 Apr – 4 May

All repository summaries

14 active · 13 unchanged

Back to weekly digest

janestreet/opam-repository

Permalink

Fixes

  • ocaml-intrinsics-kernel (with-extensions): aarch64 build fails on unrecognized caml_int_popcnt_untagged_to_untagged and related builtins. A temporary fix was pushed; the permanent fix lands with the next compiler upgrade. (#40)
  • topkg (with-extensions): build failure caused by a @@ portable attribute mismatch on String.trim between the interface and implementation. Fixed on the with-extensions branch. (#38)

Compatibility

  • alcotest 1.9.0 (with-extensions): fails to compile under OCaml 5.2.0+flambda2 with a local/global scoping error and a Printexc.register_printer deprecation alert. Issue opened 2025-04-30; still open at interval end. (#41)
  • utop (with-extensions): fails to compile due to a Parsetree.function_constraint type change and a non-exhaustive pattern match on Misplaced_attribute. Issue opened 2025-04-30; still open at interval end. (#39)
  • opam switch (with-extensions): opam switch create . fails when a dune-project file exists in the working directory because dune's upward root search picks up an incompatible language version. A comment suggests dune may need a sandboxing option to limit the search. Issue opened 2025-04-30; still open at interval end. (#42)

ocaml-multicore/eio

Permalink

Compatibility and Releases

  • Eio (io_uring backend): Open issue reports a hang when a child process inherits the parent's io_uring submission queue, blocking Uring.cancel indefinitely. Discussion proposes a pthread_atfork handler to invalidate the ring in the child. #801

ocaml-multicore/picos

Permalink

Features

  • Picos multififo scheduler: Merged #362 replaces per-fiber wakeup with periodic heartbeats to avoid thundering herd. A dedicated heartbeat thread preserves the liveness property for parallel-only fibers.
  • Picos multififo scheduler: Merged #363 makes the heartbeat interval a configurable parameter rather than a fixed constant.
  • Picos multififo scheduler: Merged #358 adds periodic work-stealing to balance fiber distribution across threads, resolving issue #357.
  • Picos_lwt: Open #338 (WIP) adds bind_on and await_on combinators for running Lwt computations on specific Picos domains.

Fixes

  • Picos on FreeBSD: Open issue #365 reports an ECONNRESET exception in test_io_cohttp under OCaml 4.14 CI.

Compatibility and Releases

  • Picos bundles: Merged #360 defers allocation of the bundle trigger until first use, reducing memory for bundles that never fire.
  • Picos bundles: Merged #337 inlines the atomic into the bundle record, reducing per-bundle memory footprint.
  • Picos alerts: Merged #361 moves -handler attributes closer to their point of use in the alert mechanism.

ocaml/dune

Permalink

Compatibility and Releases

  • Dune 3.18.2: fixes compatibility with ocaml.5.4.0 by avoiding shadowing of sigwinch. (Release)

Features

  • Dune cram tests: open discussion on inspecting the temporary sandbox after a cram test run; the sandbox is deleted and --sandbox=none does not preserve outputs. (#11167)
  • Dune file generation: question on using cinaps to emit repeated stanza patterns in dune files as a textual alternative to a plugin. (#11161)

ocaml/merlin

Permalink

Fixes

  • Merlin #1927: signature help does not appear when a function's type is expressed through a type alias rather than an explicit arrow type. A reproduction test was added. Issue
  • Merlin #1929: jump-to-definition resolves to the wrong binding when record field punning uses a module path prefix (e.g. Foo.foo). Opened 2025-04-29. Issue

Compatibility and Releases

  • Merlin 504 preview: version bump merged 2025-04-28; CI failures noted as expected. PR

Ongoing

  • Merlin #1594: locate-type navigates to the wrong type when a library is built from a copied source tree; root cause identified as missing Dune configuration for the original sources. Updated 2025-05-02. Issue
  • Merlin PR #1930: opened 2025-05-02, adds reproduction tests for locate bugs (#1580, #1588) and a typing-recovery fix. Still open at interval end. PR

ocaml/ocaml

Permalink

Features

  • OCaml trunk: Merged PR reimplements let open, let module, and let exception via a new Pexp_stritem/Texp_stritem AST node, sharing typechecking with structure items. A parsetree change affecting ppxlib and compiler-libs consumers. #13839
  • OCaml trunk: [@remove_aliases] is now documented as a proper built-in attribute on module type of and with module constraints. Merged. #13975
  • OCaml trunk: API documentation pages now display anchor links on hover for headings, types, values, modules, exceptions, and extension constructors. Merged. #14002
  • OCaml trunk: The debugger now supports #install_printer for user-defined value printers, with a simplified registration interface. Merged. #13966

Fixes

  • OCaml trunk: Opened PR fixes miscompilation where string read/write operations produced incorrect Cmm machtypes, allowing derived pointers to become live across GC. #14010
  • OCaml trunk: Opened issue reports heap corruption when a GC is triggered by exception allocation during Marshal.from_string demarshaling. #14007
  • OCaml trunk: Merged PR fixes Makefile dependencies for ocamldoc, ocamltest, and ocamldebug that caused spurious rebuilds after stdlib changes. #13998
  • OCaml trunk: Opened issue documents that the typechecker's alias-dropping mechanisms can infer ill-formed signatures, with a demonstrated segfault via unsound subtyping. #13997

ocaml/ocaml-lsp

Permalink

Fixes

ocaml-lsp: Merged PR #1525 fixes a crash in textDocument/signatureHelp where serializing a None value triggered an assertion failure. None now serializes as JSON null instead of raising. Closes #1524.

Features

ocaml-lsp inlay hints: Discussion #1511 reports that the documented inlayHints.enable option no longer matches the implementation; the working keys are hintPatternVariables and hintLetBindings. The reporter could not get hintLetBindings to produce expected type annotations.

ocaml-lsp --fallback-read-dot-merlin: Open issue #1522 proposes making the flag default or renaming it to --favor-dot-merlin-files. A maintainer comment clarifies the flag controls detection priority between dune and .merlin files rather than acting as a true fallback.

ocaml/ocaml.org

Permalink

Features

  • ocaml.org changelog (PR #3080): opens a changelog entry announcing the ocaml-eglot package. Merged outside this interval (2025-08-26); status at interval end is open.

Fixes

  • ocaml.org functors tutorial (issue #3085): reports a syntax error in the module type example on the functors page. Opened 2025-04-30; closed outside this interval (2025-05-13).

ocaml/odoc

Permalink

Features

  • odoc #1342: proposes rendering both re and ml code snippets side by side in generated documentation, toggled via CSS or JavaScript in the browser. Opened by davesnx; still an open design proposal. Link

  • odoc #1341: proposes a Markdown output backend built on cmarkit, enabling odoc-generated docs to feed into static site generators or GitHub. Opened by davesnx; not merged. Link

ocaml/opam

Permalink

Features

  • opam (proposal): PR #6493 proposes an explicit flag to mark packages unavailable unless explicitly requested. Opened 2025-04-29, still WIP.

Compatibility and Releases

  • opam 2.4.0~alpha2: Release PR #6508 merged 2025-05-05.
  • opam OPAMSTATS: PR #6485 removes the OPAMSTATS environment variable, eliminating a memory leak in long-running library use. Merged 2025-04-29.

Fixes

  • opam patch/diff: PR #6490 adds support for empty files, empty-directory removal, large patches, and directory moves. Merged 2025-05-02; fixes #6448.
  • opam switch create: PR #6494 excludes avoid-version/deprecated compiler packages from the switch invariant. Merged 2025-05-02.
  • opam Cygwin: PR #6482 falls back to the existing setup-x86_64.exe when the upgrade download fails. Merged 2025-05-02.
  • opam build engine: PR #6505 fixes erroneous recompilations triggered by empty build/runtest/install/remove fields. Opened 2025-05-03, still open.

ocaml/opam-file-format

Permalink

Fixes

  • opam-file-format: Open issue #63 reports the printer discards empty list entries (e.g. build: []), violating the printer (parser x) = x round-trip property.

ocaml/opam-repository

Permalink

No repository activity falls within the 2025-04-28 to 2025-05-05 reporting window. Both supplied records (opam-repository issues #27796 and #27646) were opened before the interval and show no state change, merge, or dated comment during it. Evidence is insufficient to report changes for this period.

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml (wasm_of_ocaml): PR #1954 opens specialization of number comparisons and bigarray operations for the Wasm backend. Still open.
  • js_of_ocaml (wasm_of_ocaml): PR #1958 opens reference unboxing for the Wasm backend. Still open as of the reporting interval.
  • js_of_ocaml: PR #1953 opens unboxing of function and block parameters. Still open.
  • wasm_of_ocaml: Issue #1956 requests a --binaryen-opt=<flags> option to pass flags (e.g. --enable-multimemory) to Binaryen invocations. Open.

Fixes

  • wasm_of_ocaml 6.0.1: Issue #1955 reports Int32.to_int losing the sign bit on 32-bit values (OCaml integers are 31-bit). Closed 2025-05-05; comments identify the gap as a missing Stdlib conversion rather than a wasm_of_ocaml defect.

Compatibility and Releases

  • js_of_ocaml build: PR #1957 opens a bump to dune 3.19. Not yet merged within the reporting interval.

oxcaml/oxcaml

Permalink

Features

  • OxCaml flambda2 (PR #3937): Restores phantom binding generation in the backend, restructuring the Name_mode lattice into a linear ordering. Open, not yet merged.

  • OxCaml flambda2 (PR #3954): Changes array, string, bytes, and bigarray indexing to use Naked_nativeint values; length operations return Naked_immediate. Open, not yet merged.

  • OxCaml runtime (issue #3956): Proposes replacing or redefining timing hooks to address non-reentrancy in multi-domain programs, suggesting migration to the runtime-events mechanism. Open.

Fixes

  • OxCaml flambda2 (issue #3914): Equality via exhaustive pattern-matching compiles to a slow jump-table dispatch; undated comments discuss a discriminant-function workaround and reference upcoming match-in-match heuristics work. Open.
13 repositories · no changes