Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Make unboxed versions of mutable records invariant

    As described in #7137, we cannot have both box and unboxed versions of mutable records be covariant. Specifically, we must reject the following definition, which uses box to ignore the variance of t:

    Zack Eisbach (@zackbach)
  2. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Moconnor/laws per law choices

    Based on #7485. Each law in the generated laws file now takes only its own choice instead of a module with the choices of every law; laws in functors take the choice of a module with the functor's parameters and the law's input choice.

    Michael O'Connor (@mkoconnor)
  3. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Mode polymorphism parsing: typing

    This PR is part of a stacked PR for mode polymorphism parsing.

    ainageorges
  4. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Mode polymorphism printing: aliases

    This PR implements printing of mode aliases in a mode polymorphic signature.

    ainageorges
  5. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    More `local` and `local read` args and `unique` results in Stdlib

    This annotates some arguments of Stdlib functions as local and some as local read and some results as unique.

    Vesa Karvonen (@polytypic)
  6. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Normalize LLDB stopped-frame indentation in debugger tests

    Normalize only the leading whitespace of LLDB stopped-frame summaries (frame #:) to the four spaces used by the existing references. Stock Apple LLDB on this machine prints seven spaces, causing the macOS ARM64 debugger test to reject otherwise identical output. The same failure reproduces with the unmodified compiler.

    ArceniyVarlamov
  7. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Parsing: mode variables, mode bounds and morphisms

    This PR (based on #7627) is part of a stacked PR for mode polymorphism parsing.

    ainageorges
  8. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Pass "fat pointer" values to C as pointers

    This adds @fat_ptr annotations to parameters of [@noalloc] external calls. These parameters are understood as a "fat pointer" of base and offset, with value_or_null & bits64 layout, such as an Ox.Ptr.t. The compiler adds the two words of the fat pointer together to get a single address word, which can be passed to a C function expecting a pointer.

    Nick Barnes (@NickBarnes)
  9. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Persistent_env: only record imports not already in crc_units

    Persistent_env: only record imports not already in crc_units

    Alec Singer (@alecsinger)
  10. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Protect demarshaler against malformed data

    Fix multiple issues in demarshaling.

    Nick Barnes (@NickBarnes)
  11. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Refactor and fix block index validity and privacy checks

    Merge all checks on the path of a block index into a single new function check_block_path. This makes them reusable for other ways of pointing into a block such as dereference patterns #7707 . Functionality that is intended to be shared with block indices and other features now refers more generally to "block paths".

    Benjamin Peters (@bn-peters)
  12. IssueW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Remove Contains_ids.S, replace it by Contains_names.S and use it systematically

    we should add ids_for_export to Contains_names

    Pierre Chambart (@chambart)
  13. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Remove trap-handler entry-point mode from CFG dataflow

    Similarly to #7837 and #7839,

    Xavier Clerc (@xclerc)
  14. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Rename Safe to Yielding in Stdlib.Effects

    It turns out that Effects.Safe API and friends are not actually safe (see #7672). As discussed, there seems to be no easy way to fix this without re-introducing the Handled_effect library into the stdlib, so we rename this to Yielding and a comment explaining that we expect handlers to handle all effects.

    Leo Lee (@smjleo)
  15. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Report [@unrolled] rather than [@inlined] on partial applications

    [@unrolled] on a partial application reports the wrong attribute name.

    James Lee (@jmes2build)
  16. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Simplify CFG depth-first traversal

    Similarly to #7837, we can simplify

    Xavier Clerc (@xclerc)
  17. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Simplify CFG dominators to a single tree

    After #7836 makes dead handlers

    Xavier Clerc (@xclerc)
  18. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Simplify tagged self-XOR shifts and select arm64 shifted EOR

    Simplify the exact same-variable tagged self-XOR/left-shift lowering modulo the machine word in Cmm, and select shifted EOR for simple arm64 operands. The fallback for other offsets, operands and shifts is preserved, and logical versus arithmetic shift semantics are retained. Upstream's get_const helper replaces the explicit constant cases, Cxor leaves the a…

    mmm00007
  19. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Single source of truth for struct offsets in asm stubs

    Some of the asm stubs need field offsets in C structs. This ensures that they get the right values even if the structs change.

    Nick Barnes (@NickBarnes)
  20. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Translate dereference patterns `deref_` to lambda

    This PR finishes initial support for dereference patterns by implementing their translation to lambda.

    Benjamin Peters (@bn-peters)