···372372 our ability to change it in the future.
373373374374Doing this collective maintenance work is a selfless task, and we
375375-typically have much fewer people willing to to do it than people
375375+typically have much fewer people willing to do it than people
376376willing to submit new language features or generally evolve the
377377codebase for their own specific needs. Without a collective effort to
378378participate, we end up with a handful of people doing the vast
+3-3
Changes
···524524 Florian Angeletti, Nicolás Ojeda Bär, Daniel Bünzli and Jeremy Yallop)
525525526526- #13695: Add Stdlib.Char.Ascii
527527- (Daniel Bünzli, review by by Nicolás Ojeda Bär and Jeremy Yallop)
527527+ (Daniel Bünzli, review by Nicolás Ojeda Bär and Jeremy Yallop)
528528529529530530- #13720: Add Result.{get_ok',error_to_failure}
···1527152715281528### Manual and documentation:
1529152915301530-- #13370: Document that that temporary variables holding GCd pointers must
15301530+- #13370: Document that temporary variables holding GCd pointers must
15311531 not be live across a GC.
15321532 (Demi Marie Obenour)
15331533···53545354 to the implementation and the coercion.
53555355 (Leandro Ostera, review by Gabriel Scherer and Thomas Refis)
5356535653575357-- #10045: Add libext variable to ocamltest and enable C# tests on on mingw
53575357+- #10045: Add libext variable to ocamltest and enable C# tests on mingw
53585358 (David Allsopp, review by Gabriel Scherer)
5359535953605360* #10061, #10078, #10187: remove library `ocamlopttoplevel`, remove modules
+1-1
Makefile.common
···252252# Macros and rules to compile OCaml programs and libraries
253253254254# The following variable is used to accumulate a list of all the CMX
255255-# files that get built. Is is then used in the root Makefile to express
255255+# files that get built. It is then used in the root Makefile to express
256256# the dependency on all these files on the native compiler, so that
257257# they get rebuilt if the native compiler is updated
258258
+1-1
asmcomp/afl_instrument.ml
···3535 prev_location = cur_location >> 1;
36363737 See http://lcamtuf.coredump.cx/afl/technical_details.txt or
3838- docs/technical_details.txt in afl-fuzz source for for a full
3838+ docs/technical_details.txt in afl-fuzz source for a full
3939 description of what's going on. *)
4040 let cur_location = Random.int afl_map_size in
4141 let cur_pos = V.create_local "pos" in
+1-1
asmcomp/linearize.ml
···8787 (* This dead instruction cannot be replaced by Ladjust_trap_depth,
8888 because the units don't match: the argument of Istackoffset is in bytes,
8989 whereas the argument of Ladjust_trap_depth is in trap frames,
9090- and the size of trap frames is machine-dependant and therefore not
9090+ and the size of trap frames is machine-dependent and therefore not
9191 available here. *)
9292 { n with next = discard_dead_code n.next; }
9393 | _ -> discard_dead_code n.next
+1-1
lambda/simplif.ml
···823823 let static_id = Hashtbl.create 16 in (* function id -> static id *)
824824 let static = LamTbl.create 16 in (* scope -> static function on that scope *)
825825 (* We keep track of the current "tail scope", identified
826826- by the outermost lambda for which the the current lambda
826826+ by the outermost lambda for which the current lambda
827827 is in tail position. *)
828828 let current_scope = ref lam in
829829 (* PR11383: We will only apply the transformation if we don't have to move
+1-1
man/ocamlmktop.1
···9191.TP
9292.BI \-o " exec\-file"
9393Specify the name of the toplevel file produced by the linker.
9494-The default is is
9494+The default is
9595.BR a.out .
96969797.SH SEE ALSO
+1-1
manual/src/refman/extensions/attributes.etex
···245245 only triggered for single argument constructor.
246246\item
247247 "ocaml.tailcall" or "tailcall" can be applied to function application
248248- in order to check that the call is tailcall optimized. If it it not
248248+ in order to check that the call is tailcall optimized. If it is not
249249 the case, a warning (51) is emitted.
250250\item
251251 "ocaml.inline" or "inline" take either "never", "always" or nothing as
+1-1
manual/src/refman/extensions/doccomments.etex
···95959696Comments which appear {\em immediately after} a labelled argument,
9797record field, variant constructor, object method or polymorphic variant
9898-constructor are are converted into @attribute@s. Immediately
9898+constructor are converted into @attribute@s. Immediately
9999after means that there must be no blank lines or other documentation
100100comments between them. For example:
101101
+1-1
manual/src/tutorials/polyvariant.etex
···130130 | #myvariant -> "myvariant"
131131 | `Tag3 -> "Tag3";;
132132\end{caml_example}
133133-or combined with with aliases.
133133+or combined with aliases.
134134\begin{caml_example}{toplevel}
135135let g1 = function `Tag1 _ -> "Tag1" | `Tag2 _ -> "Tag2";;
136136let g = function
+1-1
ocamldoc/odoc_exception.mli
···1616(** Representation and manipulation of exceptions. *)
17171818(** This module has an implementation although it declares only types.
1919- This is because other modules use the let module construct ot access it
1919+ This is because other modules use the let module construct to access it
2020 so it is needed as a real module. *)
21212222module Name = Odoc_name
+1-1
otherlibs/runtime_events/runtime_events.ml
···369369 lifecycle: (int -> Timestamp.t -> lifecycle
370370 -> int option -> unit) option;
371371 lost_events: (int -> int -> unit) option;
372372- (* user event callbacks is an array containing at each indice [i] a list
372372+ (* user event callbacks is an array containing at each index [i] a list
373373 of functions to call when an event of type id [i] happen *)
374374 user_events: any_callback list array;
375375 }
+1-1
runtime/caml/config.h
···160160161161/* The size of a page for memory management (in bytes) is [1 << Page_log].
162162 [Page_size] must be a multiple of [sizeof (value)].
163163- [Page_log] must be be >= 8 and <= 20.
163163+ [Page_log] must be >= 8 and <= 20.
164164 Do not change the definition of [Page_size]. */
165165#define Page_log 12 /* A page is 4 kilobytes. */
166166#define Page_size (1 << Page_log)
+1-1
runtime/major_gc.c
···11461146 uintnat local_heap_bsize = caml_heap_size(Caml_state->shared_heap);
1147114711481148 /* When the mark stack might not increase, we count the large mark entries
11491149- to adjust our alloaction. This is needed because large mark stack entries
11491149+ to adjust our allocation. This is needed because large mark stack entries
11501150 will not compress and because we are using a domain local heap bound we
11511151 need to fit large blocks into the local mark stack. See PR#11284 */
11521152 if (mark_stack_bsize >= local_heap_bsize / 32) {
+1-1
stdlib/arg.ml
···252252 f (List.rev !acc)
253253 | Expand f ->
254254 if not allow_expand then
255255- raise (Invalid_argument "Arg.Expand is is only allowed with \
255255+ raise (Invalid_argument "Arg.Expand is only allowed with \
256256 Arg.parse_and_expand_argv_dynamic");
257257 let arg = get_arg () in
258258 let newarg = f arg in
+1-1
testsuite/tests/hidden_includes/test.ml
···1010 - Compiling libc with -H liba allows the compiler to see the type definitions
1111 in liba, but doesn't allow c.ml to reference it directly.
12121313- - If -H and -I are are passed for two different versions of liba, the -I one
1313+ - If -H and -I are passed for two different versions of liba, the -I one
1414 takes priority.
15151616 - If -H is passed twice with two different versions of liba, the first takes
+1-1
testsuite/tests/typing-modules/mixmod5.ml
···6677(* The types involved in our recursion *)
88module type ET = sig type exp end
99-(* The recursive operations on our our types *)
99+(* The recursive operations on our types *)
1010module type E =
1111 sig
1212 include ET
+1-1
testsuite/tools/environment.ml
···395395 let lines =
396396 let ic = Unix.in_channel_of_descr stdout in
397397 (* Some of the tests send lines of text which end with '\r'. On native
398398- Windows, this will _correctly_ cause "\r\r\n" to be be sent down
398398+ Windows, this will _correctly_ cause "\r\r\n" to be sent down
399399 the pipe and text mode will _correctly_ translate that to "\r\n"
400400 (and the caller receives a line ending with '\r').
401401 On Cygwin, where the process sending the text is a Unix process,
+1-1
typing/ctype.ml
···231231 if ty.level = generic_level then () else
232232 match ty.desc with
233233 | Tvar _ when structure ->
234234- (* In structure mode, we do do not generalize type variables,
234234+ (* In structure mode, we do not generalize type variables,
235235 so we need to lower their level, and move them to an outer pool.
236236 The goal of this mode is to allow unsharing inner nodes
237237 without introducing polymorphism.
+1-1
typing/out_type.ml
···248248 type r = Avoid__me.t
249249 end
250250 }]
251251- It is is important that in the definition of [t] that the outer type [t] is
251251+ It is important that in the definition of [t] that the outer type [t] is
252252 printed as [t/2] reserving the name [t] to the type being defined in the
253253 current recursive definition.
254254 Contrarily, in the definition of [r], one should not shorten the
+1-1
typing/typecore.ml
···813813(* Create two instances with identical variables but independent structure.
814814 NB: [generic_instance] can only be used if the variables of the
815815 original type are not at [generic_level], but in the [cty_type] of
816816- [build_as_type_extra], they are at at [generic_level].
816816+ [build_as_type_extra], they are at [generic_level].
817817 If we used [generic_instance] we would lose the sharing between variables
818818 in the returned types. *)
819819let instance_unshared ty =