Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. IssueW46.2026 · 9–15 Novoxcaml/oxcaml

    Runtime array primitives assume one word per element

    The array comprehension translation has branches for unboxed element kinds (lambda/transl_array_comprehension.ml:725-756), and the dynamic-size ones grow the array with caml_array_append (:443) and cut it down with caml_array_sub (:934). Both entry points assume arrays of one-word values: uniform_array_gather allocates the result with caml_alloc_small(size, …

    KC Sivaramakrishnan (@kayceesrk)
  2. IssueW46.2026 · 9–15 Novoxcaml/oxcaml

    Segfault from an unboxed existential over `box`

    [| x; y |] segfaults when the element type is an existential over 'a box declared [@@unboxed]:

    KC Sivaramakrishnan (@kayceesrk)
  3. Pull requestW46.2026 · 9–15 Novoxcaml/oxcaml

    Support coercions for template functors

    There's a new test that shows that this can actually merge curried functors together. This happens for normal functors too but because slambda eval currently only supports single argument functors it currently breaks things. I'm planning on implementing partial application soon so I've left it as a test to fix.

    Jack Rickard (@Skepfyr)
  4. IssueW46.2026 · 9–15 Novoxcaml/oxcaml

    The n-way join keeps a code ID that one input does not have

    With -flambda2-join-algorithm n-way (and -O2 or -O3; also with -O3 -flambda2-match-in-match, which forces that join) a correct OCaml program stops at runtime on an Invalid that Simplify put in place of a live call, and the zero_alloc check accepts a function that allocates. With the default (binary) join both programs behave correctly.

    Mark Shinwell (@mshinwell)
  5. Pull requestW46.2026 · 9–15 Novoxcaml/oxcaml

    Type checking for laws

    Following #7917, this PR adds type checking for law? in signatures and structures. The core of type checking these is pretty straightforward: every clause must type check as Boolean, and then the translation in Translspec is used to turn the clauses into Typedtree.spec_expression and Spec.expression.

    Simon Spies (@spiessimon)
  6. IssueW46.2026 · 9–15 Novoxcaml/oxcaml

    Type quotations are treated as separable

    A synonym whose body is a quotation gets an Ind mode signature, so an [@@unboxed] existential over it is accepted and the array literal segfaults:

    KC Sivaramakrishnan (@kayceesrk)
  7. IssueW46.2026 · 9–15 Novoxcaml/oxcaml

    `-flambda2-match-in-match`: segfault calling a closure inlined from another module inside `try`

    Program

    Ethan Chou (@echoumcp1)
  8. IssueW46.2026 · 9–15 Novoxcaml/oxcaml

    `-flambda2-reaper`: `ocamlopt` uses unbounded memory on a local function that builds an infinite list

    Program (prog.ml)

    Ethan Chou (@echoumcp1)
  9. IssueW46.2026 · 9–15 Novoxcaml/oxcaml

    `-flambda2-reaper`: function returns early

    Program (prog.ml)

    Ethan Chou (@echoumcp1)
  10. IssueW46.2026 · 9–15 Novoxcaml/oxcaml

    `-use-ssa -caml-apply-inline-fast-path`: SSA validator aborts with "CFG comparison MISMATCH"

    Program (prog.ml)

    Ethan Chou (@echoumcp1)
  11. IssueW46.2026 · 9–15 Novoxcaml/oxcaml

    `-use-ssa -cfg-block-layout`: SSA validator aborts with "CFG comparison MISMATCH" on a block's `cold` flag in a `[@zero_alloc]` function

    Program (prog.ml)

    Ethan Chou (@echoumcp1)
  12. IssueW46.2026 · 9–15 Novoxcaml/oxcaml

    `Array.append` and `Array.blit` inspect only one input

    Array.append produces an array whose runtime tag does not match its contents, and the first consumer that reads a field crashes:

    KC Sivaramakrishnan (@kayceesrk)
  13. IssueW46.2026 · 9–15 Novoxcaml/oxcaml

    `Array.blit` copies words, not elements

    Array.blit copies one machine word per element, so a blit of a single two-word element produces a value no blit could have produced:

    KC Sivaramakrishnan (@kayceesrk)
  14. IssueW46.2026 · 9–15 Novoxcaml/oxcaml

    amd64: `Atomic.compare_and_set` on an `int Atomic.t` succeeds after an earlier failed CAS with the same expected value

    Program (prog.ml)

    Alperen Keleş (@alpaylan)
  15. IssueW46.2026 · 9–15 Novoxcaml/oxcaml

    amd64: `ocamlopt -fno-avx` fails with `Fatal error: exception Not_found` on a store to a float32 Bigarray

    OxCaml main 9d845db (2026-11-05) and 0d3c935; amd64 Linux, ./configure --enable-flambda-invariants.

    Alperen Keleş (@alpaylan)
  16. Weekly digestW45.2026 · 2–8 Nov

    Community digest

    OCaml 4.14.5 releases six security fixes covering Marshal, Str, Unix.map_file, demarshaling, Windows command quoting, and ephemeron marking. Dune 3.25.0~alpha1 hides _build/install paths from actions absent a declared package dependency, and an open OCaml PR proposes making non-exhaustive matches fatal by default.

  17. Group summaryW45.2026 · 2–8 Nov

    core digest

    Open proposal (PR #52, updated 2026-11-06). A labelled function argument annotated [%call_loc] is auto-filled with the caller's source location. Affects monadic bind tracing and embedded-language error reporting.

  18. Group summaryW45.2026 · 2–8 Nov

    ecosystem digest

    Package pages on ocaml.org display a build-status badge and per-compiler table from check.ci.ocaml.org, with log links and run provenance. A daily scrape updates the data. (#3930, #3941)

  19. Group summaryW45.2026 · 2–8 Nov

    multicore digest

    Uring.Msghdr.get_msg_name and Msghdr.create_recv added for receiving Unix-domain socket addresses; Msghdr.create is deprecated. (#163, merged)

  20. Group summaryW45.2026 · 2–8 Nov

    oxcaml digest

    OxCaml 5.4.0-ox9 with Jane 133.03+642 is available in the opam-repository for macOS and Ubuntu. #66, merged 2026-11-06.