Skip to content

Commit 14b656e

Browse files
v0.18~preview.130.83+317
1 parent c2f5203 commit 14b656e

File tree

173 files changed

+4947
-2789
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

173 files changed

+4947
-2789
lines changed

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License
22

3-
Copyright (c) 2016--2025 Jane Street Group, LLC <[email protected]>
3+
Copyright (c) 2016--2026 Jane Street Group, LLC <[email protected]>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

base.opam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ build: [
1212
depends: [
1313
"ocaml" {>= "5.1.0"}
1414
"basement"
15+
"capsule0"
1516
"ocaml_intrinsics_kernel"
1617
"ppx_array_base"
1718
"ppx_base"

generate/generate_pow_overflow_bounds.ml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
(* NB: This needs to be pure OCaml (no Base!), since we need this in order to build
2-
Base. *)
1+
(* NB: This needs to be pure OCaml (no Base!), since we need this in order to build Base. *)
32

43
(* This module generates lookup tables to detect integer overflow when calculating integer
5-
exponents. At index [e], [table.[e]^e] will not overflow, but [(table[e] + 1)^e]
6-
will. *)
4+
exponents. At index [e], [table.[e]^e] will not overflow, but [(table[e] + 1)^e] will. *)
75
module Z = Zarith.Z
86

97
type mode =

lint/ppx_base_lint.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ let check current_module =
148148
(remove_loc#attributes new_attrs))
149149
then (
150150
(* Remove attributes written by the user that correspond to attributes in the
151-
expansion *)
151+
expansion *)
152152
List.iter attrs ~f:(fun a ->
153153
if is_part_of_expansion a
154154
then Driver.register_correction ~loc:a.attr_loc ~repl:"");

shadow-stdlib/gen/gen.ml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
open StdLabels
22

33
let () =
4-
(* -permissive indicates that we should tolerate additions to stdlib.
5-
It's [true] in public-release so that new versions of the stdlib can be compatible
6-
with base, but it should be [false] internally so that we remember to
7-
consider implementing the equivalents in base. *)
4+
(* -permissive indicates that we should tolerate additions to stdlib. It's [true] in
5+
public-release so that new versions of the stdlib can be compatible with base, but it
6+
should be [false] internally so that we remember to consider implementing the
7+
equivalents in base. *)
88
let permissive, cmi_fn, oc =
99
match Sys.argv with
1010
| [| _; "-caml-cmi"; cmi_fn; "-o"; fn |] -> false, cmi_fn, open_out fn

0 commit comments

Comments
 (0)