Repository activity
40458 results across all weeks
add `[@zero_alloc conditional]` to check that every allocation comes from calling an argument
Functions like List.iter, which don't allocate themselves but take callbacks that may allocate, are [@zero_alloc conditional]. Also, the backend checker can now prove that e.g. List.iter ~f:ignore is non-allocating, even without conditional.
Will Sturgeon (@wrsturgeon)add `[@zero_alloc partial]`: partial applications do not heap-allocate
One part of ongoing work to double-check the soundness of the noalloc mode.
Will Sturgeon (@wrsturgeon)datalog: Allow unions in planner output
Basile Clément (@bclement-ocp)datalog: Explicitly mark binding position in atoms during planning
A variable is in binding position iff the variable is part of the bound
Basile Clément (@bclement-ocp)datalog: Explicitly store bound variables in rule
Stack created with GitHub Stacks CLI • Give Feedback 💬
Basile Clément (@bclement-ocp)datalog: Fold parameter stage into constant stage
Only treat the bound (iterated) variables of the rule, not any potential
Basile Clément (@bclement-ocp)datalog: Make union opcode actually compute unions
Stack created with GitHub Stacks CLI • Give Feedback 💬
Basile Clément (@bclement-ocp)datalog: Move trie-manipulating functions to the `columns`
This resolves an old CR and will make it easier to split indices for copies. Incidentally, this now (mostly) allows using nullary tables.
Basile Clément (@bclement-ocp)datalog: Planner does not need to know about Cursor's callback
Stack created with GitHub Stacks CLI • Give Feedback 💬
Basile Clément (@bclement-ocp)feat(typing): add a `omnidirectional` language extension
Description
Alistair (@johnyob)feat(typing): omnidirectional mode crossing (eager defaulting)
Description
Alistair (@johnyob)feat(typing): schedulers, ivars and `Tivar`s for omnidirectionality
Description
Alistair (@johnyob)fix(typing/lambda): handle unboxed records in `Parmatch.Compat.compat`
Description
Alistair (@johnyob)flambda2: Bind the module symbol directly to the module block
Closure conversion used to pass the final module block to a continuation whose handler read every field back out of it and then defined the module symbol as a new block containing those fields. In some cases this isn't necessary, which saves on static data, and helps avoid code patterns that can be slow to compile in the backend.
Mark Shinwell (@mshinwell)nix: filter VCS metadata and build directories out of the default src
Passing the checkout as a bare path copies .git (hundreds of MB) and _build, _install, _opam, ... into the store, and any artifact change rebuilds. Default src to lib.cleanSourceWith with lib.cleanSourceFilter (VCS metadata incl. a worktree's .git file, editor backups, .o/.so, result symlinks, sockets) plus the dot/underscore directories. Callers that pass t…
Jacob Van Buren (@jvanburen)refactor(typing): introduce a `With_backtracking` helper
Description
Alistair (@johnyob)refactor: avoid redundant type_jkind while specializing peek/poke prims
This change is intended as a pure refactor.
Joe Kerrigan (@joe-kerrigan)Community digest
The OCaml compiler now compiles deeply nested local functions in time linear in depth, and Unix.openfile accepts O_NOFOLLOW on POSIX systems. Multiple Windows command-quoting defects were corrected under OSEC-2026-24.
core digest
Unix.openfile now accepts O_NOFOLLOW on POSIX systems; not available on Windows. Merged in #15121.
ecosystem digest
ppxlib 0.39.0 adds support for OCaml 5.6 primitive aliases and holes; also fixes attribute duplication in Ast_builder.Default.pexp_apply. Merged. (#30868)