Thicket thicket
ocaml
REPOS 27
W45.2024 · 4–10 Nov

All repository summaries

16 active · 11 unchanged

Back to weekly digest

janestreet/opam-repository

Permalink

Fixes

  • opam-repository (with-extensions): PR #33 updates the repository to a recent compiler build. Merged 2024-11-08 by dkalinichenko-js.

  • opam-repository (with-extensions): PR #34 adds a missing sigwait patch to ocaml-variants, resolving a Thread.wait_signal exception raised by oxcaml compilers on macOS. Opened 2024-11-10 by avsm; merged 2024-11-11, outside this interval.

ocaml-multicore/eio

Permalink

Features

  • Eio Eio.Process.Pipe (PR #775, open): relaxes the return types of pipe to accept any subtype of Flow.source_ty and Flow.sink_ty via polymorphic variants ([< .. ]), broadening usable process I/O configurations. Addresses issue #750. Build was still failing at last update. PR link

Fixes

  • Eio Buf_write back-pressure (issue #760, open): proposes suspending the calling fiber when an internal buffer limit is reached, preventing unbounded memory growth during writes. The correct limit semantics (buffer count vs. byte count) remain unresolved. Issue link

ocaml-multicore/kcas

Permalink

Kcas (ocaml-multicore): Merged a code-generation change replacing tagged integers with Nativeint in the CAS operation, reducing emitted code size. Public API is unchanged. (#206)

ocaml-multicore/picos

Permalink

Features

  • Picos (lock-free bag): Merged example of a randomized lock-free bag data structure. #327
  • Picos (hash table example): Merged additional example demonstrating use of the lock-free hash table. #329

Fixes

  • Picos (external reference counting): Merged change reducing memory use by using try_compare_and_remove to eliminate an extra Atomic indirection. #328

ocaml-multicore/saturn

Permalink

Compatibility and Releases

  • Saturn (PR #159): Merged 2024-11-05, removing the Saturn_lockfree sub-package since all structures in Saturn are lock-free. Future blocking structures would target a scheduler-specific package. (#159)

Features

  • Saturn (PR #35): Closed 2024-11-07. The MPMC unbounded queue proposal (Michael-Scott queue with FAD queues) was abandoned; the author judged the plain Michael-Scott design preferable. (#35)

ocaml/RFCs

Permalink

ocaml/RFCs PR #39: The "Atomic record fields" proposal (opened 2024-05-31, still open) has no dated activity within the 2024-11-04 to 2024-11-11 interval. All comments lack timestamps; the only recorded update is 2025-01-05. Evidence is insufficient to attribute any change to this week.

ocaml/merlin

Permalink

No activity within the reporting interval is supported by the supplied records. The single PR (#1863) was created on 2024-10-31 and merged on 2024-11-21, both outside the 2024-11-04 to 2024-11-11 window.

ocaml/ocaml

Permalink

Features

  • OCaml Multicore runtime (proposal): Open discussion on eliminating quadratic minor-GC stack scanning when OCAMLRUNPARAM="l=…" sets a large stack limit in native code. Two strategies are outlined: scan only the active contiguous stack, or track a "scanned-up-to" frame in stack metadata. Discussion #11923

ocaml/ocaml.org

Permalink

Features

  • ocaml.org Cookbooks: proposes a categories sidebar (Command Line, Compilation & Linking, etc.) for the Cookbooks page, mirroring the Exercises layout. Opened by RCHG; still open. #2803
  • ocaml.org Books: proposes adding Harvard's CS51 textbook Programming Well: Abstraction and Design in Computation to the books section as a post-CS50 beginner resource. Opened by imdj; closed after the reporting interval. #2808

Compatibility and Releases

  • ocaml.org / Opam: closes the request for a short opam install-script URL (e.g. opam.ocaml.org/install.sh) on the main site. Closed 2024-11-04. #2728

ocaml/ocamlfind

Permalink

Features

ocamlfind 1.9.7: adds -with-relative-paths-at <prefix> to ./configure, resolving $PREFIX at runtime via environment variables instead of hardcoding absolute paths. Merged in #72.

ocamlfind 1.9.7: Fl_dynload.load_packages now accepts an optional loader function, letting callers replace the default Dynlink.loadfile call. Useful for JSOO Web Workers where .cma-to-.js compilation is too slow. Merged in #81.

Compatibility and Releases

ocamlfind 1.9.7: released via #87, incorporating the fixes and features above. Closes the long-standing release request in #79.

ocamlfind 1.9.7: the configure script was hardened with shellcheck-driven quoting fixes and removal of unset variables, improving POSIX portability. Merged in #73.

ocamlfind: topfind.ml triggers a deprecation warning for Toploop.directive_table under current OCaml. Opened in #85; no fix yet.

Fixes

ocamlfind 1.9.7: corrects the ./configure sitelib check that broke opam install ocamlfind upgrades from 1.9.5 on OCaml 5.x switches, where stdlib/META from the prior install caused findlib packages to vanish from ocamlfind list. Merged in #61.

ocamlfind 1.9.7: the install step now uses cp for non-executable files instead of install, which was setting the executable bit on all installed files. Merged in #86, closing #59.

ocamlfind: ./configure fails with dynlink_subdir: parameter not set or null on OCaml 5.2.0 because check_library skips setting _dir/_subdir variables when a META file is already present. Reported in #88 and #90; a workaround patch is posted in the issue.

ocaml/odoc

Permalink

Features

odoc-md (PR #1234, opened): New package processing standalone Markdown files into page-*.odoc pages for odoc rendering. Based on cmarkit; requires OCaml ≥ 4.14. No ocamldoc reference syntax in Markdown.

odoc hierarchy (PR #1233, merged): Relaxes the disjointness constraint between -P and -L roots. A page root and a library root may now overlap (e.g. -P pkg/ with -L pkg/lib/), enabling nested page-and-library layouts.

odoc tags (PR #1239, opened): @-tags now end implicitly at a blank line, section heading, or next tag, matching shorthand-list behaviour. Addresses #1138.

odoc driver (PR #1236, merged): Implements the relaxed page/library hierarchy in the driver, removing the intermediate lib directory from the output tree.

Fixes

odoc voodoo (PR #1241, opened): Splits the compile and link phases so documentation links can resolve across non-direct dependencies. Fixes layout errors in voodoo-generated pages.

odoc API docs (PR #1238, merged): Documents the result return type of Url.from_identifier, clarifying when an Error value is produced.

Compatibility and Releases

odoc_driver (PR #1237, merged): Splits the single odoc_driver command into three sub-commands (dune, opam, and a generic mode). Existing invocations using the old flat interface will need updating.

odoc docs (PR #1209, merged): Adds a driving page covering the odoc 3.0 driver CLI, including how to generate docs for opam-installed packages.

ocaml/opam

Permalink

Compatibility and Releases

  • opam (issue #6291): Opened 2024-11-04. Windows 11 user reports opam install ocaml fails fetching ocaml-base-compiler.5.1.1 sources; the download command succeeds but the resulting file is not found. The URL yields ocaml-5.1.1.tar rather than the expected .tar.gz name.

ocaml/opam-repository

Permalink

opam-repository: No activity within the 2024-11-04 to 2024-11-11 interval is supported by the supplied records. The only entry (issue #23697, "Policy for non-functional packages") was opened in April 2023 and last updated in January 2025; its single comment carries no timestamp and cannot be placed in the window.

ocsigen/js_of_ocaml

Permalink

Fixes

  • js_of_ocaml #1733: Opened 2024-11-08. Reports that caml_exn_with_js_backtrace allocates a new JS Error for constant exceptions (tag 248), adding ~5× overhead to Not_found raises. A maintainer reply notes the next release will not enable this by default. (issue)

oxcaml/merlin

Permalink

Features

Merlin (oxcaml): Merged PR #116 adds a -lsp-compat true flag that adjusts stack-or-heap location reporting to match type-enclosing ranges, enabling consistent LSP hover display. Two special cases apply: non-polymorphic-variant constructors report the constructor name only, and identifier patterns in function bindings report the binding's stack-or-heap. Editors querying the RPC directly without the flag retain the original descriptive ranges.

Compatibility and Releases

Merlin (oxcaml): Merged PR #114 resolves build failures under the bleeding-edge-with-extensions opam switch by removing the unused Compression module and adding a missing dependency. The change is merged but no release tag is indicated.

oxcaml/oxcaml

Permalink

Fixes

  • oxcaml (flambda2): issue #3221 "Fixes for variant unboxing" closed 2024-11-06. No body or comments are present in the record, so the specific corrections to the unboxed-variant representation in the flambda2 backend cannot be described from the supplied data.
11 repositories · no changes