Repository activity
40458 results across all weeks
Allow generalized sort variables in module representation
Previously transl_module_representation would fatal_error upon encountering a generalized sort variable, so code like this would error out:
Joe Kerrigan (@joe-kerrigan)Allow non-`value` optional arguments
Follow-up to #5462.
Luke Maurer (@lukemaurer)Allow skipping intermediate return modes in moregen
Adds a ret_modes flag to Ctype.moregeneral so a caller can constrain only the final arrow of the subject's return spine, and exposes submode_with_cross in the interface. Merlin's strength analysis (#6812) uses these to compute the strongest signature for a function without over-constraining intermediate arrows.
Gavin Gray (@gavinleroy)Allow stack-allocating bigstring blocks
Add runtime support for allocating the custom block of a bigstring on the stack.
David Vulakh (@dvulakh)Apply modality to the base of the curry mode in the parser and printer
When parsing 'a @ m1 -> 'b -> 'c @@ m2 in a signature, the implicit curry mode was constructed as the join between m1 and legacy, ignoring the value's modality m2. For
ainageorgesAvx512 intrinsics
(wip)
Max Slater (@TheNumbat)Bidirectional type checking for applications
Import ocaml/ocaml#285. Fix some metaprogramming issue?
dkalinichenko-jsBox kinds
Add the box kind constructor. The kind k box indicates the boxed version of a kind k.
Ryan Tjoa (@rtjoa)Build a frame-descriptor lookup index into executables at link time
[One of a set of draft PRs taking different approaches to reduce runtime frametable costs (RSS and CPU). The intention is to compare and discuss, then choose an approach (possibly a hybrid). This is @Svetlitski's approach].
Nick Barnes (@NickBarnes)Build with oxcaml switch
Not to be merged yet; needs another public release roll before we can use ocamlformat and merlin
Max Slater (@TheNumbat)Bump the actions group across 1 directory with 2 updates
Bumps the actions group with 2 updates in the / directory: anthropics/claude-code-action and cachix/install-nix-action.
Dependabot (@dependabot)CI: enforce squash-merging iff a PR doesn't bring in subtree history
Adds a subtree merge policy check that enforces: a PR is squash-merged iff it does not bring in git-subtree history. This keeps subtree history (from git subtree add/pull/merge) on main.
Jacob Van Buren (@jvanburen)Change most stdlib/built-in parameterised types to take `any`
Not ready for review
Luke Maurer (@lukemaurer)Change the kind of the parameter of `option` to `any`
-type 'a option =
Luke Maurer (@lukemaurer)Clean #includes in the runtime
Three commits to improve the hygiene of #includes in the runtime:
Nick Barnes (@NickBarnes)Cmm peephole for sign-extending constants
When Cmm_helpers.sign_extend is called on a Cconst_int or Cconst_natint, sign extend the payload at compile time instead of generating instructions for it at run time.
James Rayman (@jra4)Cmm peepholes for int/bit conversions
Cmm peepholes for int/bit conversions
ttebbi-janestreetCode size adjustments
First attempt at adjusting the code size of switches, and also add the number of arguments to the estimation for apply_expr, as per comment at the beginning of the file.
Guillaume Bury (@Gbury)Code size and cost metrics correctness
Pierre Chambart (@chambart)Collapse `optional_argument_jkind` into `option_argument_jkind` after `any`-kinded optional parameters
Renaming commit addressing a CR in #6219.
Will Sturgeon (@wrsturgeon)