Thicket thicket
ocaml
REPOS 27

December 2024

Monthly story not yet available.

W52.2024 · 23–29 DecAll

ocaml-lsp merges project-wide renaming across signatures and implementations with immediate rebuild. An open Eio proposal introduces a run_multi entry point replicating a callback across recommended domains, and opam-repository lacks a Windows guard on pre-4.13 compilers, causing opam switch create to fail.

Features

  • ocaml-lsp (PR #1431): Adds project-wide renaming. Renames a value across all files (signatures and implementations) with immediate rebuild; no shadowing guarantees. PR

  • Eio (issue #791): Proposes a run_multi entry point that replicates a domain-safe callback across Domain.recommended_domain_count() domains. Removes the domain manager from the user-facing environment record. Issue

Compatibility

  • opam-repository conf-libssl: No minimum OpenSSL version is declared, so async_ssl v0.16.0 (requiring OpenSSL ≥ 1.1.1) fails on CentOS 7 with 1.0.2k. Workaround: install openssl11-devel manually. #27165

  • opam-repository Windows: ocaml-base-compiler versions below 4.13 lack an available: os != "win32" constraint. opam switch create 4.12.0 on Windows proceeds to ./configure and fails. A proposal to add the guard was raised. #27186

Fixes

  • ocaml-lsp (issue #1433): Incorrect diagnostics appear when the active dune build uses a non-default --build-dir (e.g. _build_lsp). The LSP reports "No config found" until a default _build directory also exists. Issue

  • Eio (issue #774): Documents a type-unsound cast reachable through the resource handler's Obj.magic mechanism. An exploratory branch using OCaml objects as an alternative representation is referenced; the issue remains open. Issue

  • ocaml.org (issue #2827): /docs/debugging lacks a link to the Stdlib debugging section in the 5.2 manual. A fix PR (#2897) was suggested; the issue remains open. Issue

Discussions

  • opam (discussion #6137): Reports solver execution times increasing from 15 s to 50 s against the default OPAMSOLVERTIMEOUT of 60 s. No resolution or code change is recorded. Discussion