add labels to BytesLabels.sub_string (#1353)
parent
39072e97bc
commit
0cb45a611f
2
Changes
2
Changes
|
@ -1806,6 +1806,8 @@ OCaml 4.04.0 (4 Nov 2016):
|
|||
|
||||
- GPR#880: Fix [@@inline] with default parameters in flambda (Leo White)
|
||||
|
||||
* GPR#1353: add labels to BytesLabels.sub_string (Jacques Garrigue)
|
||||
|
||||
### Internal/compiler-libs changes:
|
||||
|
||||
- PR#7200, GPR#539: Improve, fix, and add test for parsing/pprintast.ml
|
||||
|
|
|
@ -73,7 +73,7 @@ val sub : bytes -> pos:int -> len:int -> bytes
|
|||
Raise [Invalid_argument] if [start] and [len] do not designate a
|
||||
valid range of [s]. *)
|
||||
|
||||
val sub_string : bytes -> int -> int -> string
|
||||
val sub_string : bytes -> pos:int -> len:int -> string
|
||||
(** Same as [sub] but return a string instead of a byte sequence. *)
|
||||
|
||||
val extend : bytes -> left:int -> right:int -> bytes
|
||||
|
|
Loading…
Reference in New Issue