Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. IssueW38.2026 · 14–20 Sepoxcaml/oxcaml

    Improved testing infrastructure for Flambda 2

    Mark Shinwell (@mshinwell)
  2. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Install dynamic scopes behind existing bindings

    Changes caml_dynamic_use_scope to install the scope at the bottom of the current fiber's binding stack instead of assuming the fiber has no bindings. This makes integration with the parallel/concurrent libraries easier.

    Max Slater (@TheNumbat)
  3. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Keep functions specialisable after lambda lifting

    The reaper lambda-lifts closures that do not escape: their value slots

    Mark Shinwell (@mshinwell)
  4. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Kind-template module coercions

    Adds kind template coercions to the module coercions.

    Jakub Bachurski (@jbachurski)
  5. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    LTO prototype

    [DRAFT] WIP prototype not ready for review yet

    Simon Spies (@spiessimon)
  6. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Log mutations in newvar_below

    Solver.newvar_below obj m might make mutations to m, such as adding a vlower bound to it. Currently these changes are not logged, under the assumption that newvar_below never fails. While this assumption is correct, explicit snapshots and backtracks might still need to revert those changes. Otherwise, we may observe a leak in code such as:

    ainageorges
  7. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Lpoly v-0

    Jack Rickard (@Skepfyr)
  8. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Make externality a "secret" mode axis

    Instead of hardcoding externality as a special-cased non-modal axis, make it a regular modal axis. Hide it and prevent users from writing annotations for externality modes and modalities, allowing them in mode-crossing only.

    dkalinichenko-js
  9. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Make probe handlers return `#()` to avoid reaper issues

    [%probe] handlers were compiled as functions returning unit, and To_cmm_expr.translate_apply0 unconditionally materialised that result as (seq (probe ...) 1). This went wrong with the reaper. Since the probe handler is a direct call to known code whose result nobody reads, the reaper deletes the return value, giving the apply an empty return_arity and a para…

    ttebbi-janestreet
  10. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Make the local iarray functions zero-alloc compatible

    Wraps local IArray functions that are clearly meant to be local with [@zero_alloc assume] much like #6147 does

    ericlovesmath (@ericlovesmath)
  11. IssueW38.2026 · 14–20 Sepoxcaml/oxcaml

    Merge LTO

    Nathanaëlle Courant (@Ekdohibs)
  12. IssueW38.2026 · 14–20 Sepoxcaml/oxcaml

    Merlin-lib + OCaml-lsp-server +ox2 installs with OxCaml Compiler 5.2.0minus40 but can't read .cmi files

    Note: This is my first OxCaml interaction other than waiting 30 minutes for the entire thing to compile 😄 .

    Bohdan Purtell (@LeEmperor)
  13. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Miscellaneous improvements/fixes for the LTO version of the reaper

    This PR adds a couple of remaining fixes that are required for the link-time optimization version of the reaper to work. It should not be merged as is and, instead, requires a little bit more work.

    Simon Spies (@spiessimon)
  14. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Mode Polymorphism Demo

    This PR combines various existing PRs into a working mode polymorphism demo.

    ainageorges
  15. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Mode Polymorphism Parsing

    This PR adds a parser for mode polymorphism. In function types, argument and result mode annotations may now be mode variables ('m) or bounds ([< ... > ...]):

    ainageorges
  16. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    More complete type inference with `eval` and concrete types

    Motivation

    Jakub Bachurski (@jbachurski)
  17. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Morphism meets and joins

    The solver keys vlower/vupper arrows by (variable, morphism), so constraints between the same two variables with different morphisms are separate edges. Since f u <= v and g u <= v together mean (f join g) u <= v, and dually with meet for upper arrows, one edge per pair suffices if morphisms can be joined and met. This PR adds join_morph/meet_morph to Lattic…

    ainageorges
  18. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Move `any`-fields to stable

    Move any-kinded fields and arguments to stable (undoing #6173).

    Ryan Tjoa (@rtjoa)
  19. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    New Flambda -> Cmm phantom let translation scheme

    Alternative to #6519's handling of phantom lets in To_cmm, for comparison with the reference-erasure scheme there. Part of the dwarf202607 series; stacked on #6822 (same base branch as #6519).

    Mark Shinwell (@mshinwell)
  20. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Optimization: prevent adding trivial meet- and join constraints

    Skip constant operations at their identity elements. In the underlying solver lattice, meet max m = m and imply max m = m, so the resulting constraints are trivial m < m. Monadic modes use the opposite lattice, where join_const and subtract_const are implemented as meet and imply. This PR skips these cases to prevent adding trivial solver edges.

    ainageorges