Skip to content

Commit 275d04a

Browse files
v0.17~preview.129.07+242
1 parent c63acd3 commit 275d04a

Some content is hidden

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

77 files changed

+1318
-818
lines changed

CHANGES.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
* Added `Utf8`, `Utf16le`, `Utf16be`, `Utf32le` and `Utf32be` submodules to `Uchar` and `String` for Unicode
2+
encoding support.
3+
4+
* Add a `Binary` submodule to `Int`, `Int32`, etc, which provide `to_string` and `sexp_of_t`
5+
with syntax matching the ocaml binary int literal syntax.
6+
7+
* Add Quickcheck generator to `Uchar.t` and add Quickcheck generators to `String` for
8+
generating valid Unicode strings in different encodings.
9+
110
## Release v0.16.0
211

312
Changes that affect multiple modules:

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) 2008--2023 Jane Street Group, LLC <[email protected]>
3+
Copyright (c) 2008--2024 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_for_tests/src/dune

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
(library (name base_for_tests) (public_name core.base_for_tests)
1+
(library
2+
(name base_for_tests)
3+
(public_name core.base_for_tests)
24
(libraries base)
3-
(preprocess (pps ppx_base ppx_inline_test ppx_sexp_conv ppx_sexp_message)))
5+
(preprocess
6+
(pps ppx_base ppx_inline_test ppx_sexp_conv ppx_sexp_message)))

base_for_tests/src/test_blit.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module type For_tests_gen = sig
3030
module Src : sig
3131
type 'a t
3232

33-
val length : (_ t[@local]) -> int
33+
val length : _ t -> int
3434
val create_bool : len:int -> bool z t
3535
val get : 'a z t -> int -> 'a Elt.t
3636
val set : 'a z t -> int -> 'a Elt.t -> unit
@@ -39,7 +39,7 @@ module type For_tests_gen = sig
3939
module Dst : sig
4040
type 'a t
4141

42-
val length : (_ t[@local]) -> int
42+
val length : _ t -> int
4343
val create_bool : len:int -> bool z t
4444
val get : 'a z t -> int -> 'a Elt.t
4545
val set : 'a z t -> int -> 'a Elt.t -> unit

base_for_tests/src/test_blit_intf.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module type Sequence = sig
2525
type elt
2626

2727
val create : len:int -> t
28-
val length : (t[@local]) -> int
28+
val length : t -> int
2929
val get : t -> int -> elt
3030
val set : t -> int -> elt -> unit
3131
end
@@ -37,7 +37,7 @@ module type Sequence1 = sig
3737

3838
(** [Make1*] guarantees to only call [create_like ~len t] with [len > 0] if [length t >
3939
0]. *)
40-
val length : (_ t[@local]) -> int
40+
val length : _ t -> int
4141

4242
(** [create_bool], [get], and [set] are just used for unit tests. [z] is needed for
4343
[Flat_tuple_array], [elt] is needed for [Option_array]. *)

command/src/dune

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
(library (name command) (public_name core.command)
1+
(library
2+
(name command)
3+
(public_name core.command)
24
(libraries base filename_base stdio univ_map)
3-
(preprocess (pps ppx_jane ppx_optcomp)))
5+
(preprocess
6+
(pps ppx_jane ppx_optcomp)))

core/bench-bin/dune

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
(executables
2+
(modes byte exe)
23
(names array_iter array_queue bench_hashtbl bench_map core_stack
3-
core_string_search_pattern dequeue hashtbl_bench immediate_bench
4-
ordering_container string_escaping time_to_string)
4+
core_string_search_pattern dequeue hashtbl_bench immediate_bench
5+
ordering_container string_escaping time_to_string)
56
(libraries core_unix.command_unix core core_bench core_kernel.pairing_heap
6-
core_kernel.pooled_hashtbl ppx_hash.runtime-lib pcre re2
7-
shell.string_extended)
8-
(preprocess (pps ppx_jane)))
7+
core_kernel.pooled_hashtbl ppx_hash.runtime-lib pcre re2
8+
shell.string_extended)
9+
(preprocess
10+
(pps ppx_jane)))
Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
(library (name replace_caml_modify_for_testing)
1+
(library
2+
(foreign_stubs
3+
(language c)
4+
(names replace_caml_modify_for_testing_stub))
5+
(name replace_caml_modify_for_testing)
26
(library_flags -cclib -Xlinker -cclib --wrap -cclib -Xlinker -cclib
3-
caml_modify -cclib -Xlinker -cclib --wrap -cclib -Xlinker -cclib
4-
caml_modify_local)
5-
(c_names replace_caml_modify_for_testing_stub)
6-
(preprocess (pps ppx_inline_test)))
7+
caml_modify -cclib -Xlinker -cclib --wrap -cclib -Xlinker -cclib
8+
caml_modify_local)
9+
(preprocess
10+
(pps ppx_inline_test)))

0 commit comments

Comments
 (0)