mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2026-01-23 01:26:41 -05:00
CCSequence now provides some bytes-dependent operations (so containers depends on bytes)
This commit is contained in:
parent
259644edf1
commit
6ff9c11167
2 changed files with 9 additions and 0 deletions
1
_oasis
1
_oasis
|
|
@ -49,6 +49,7 @@ Library "containers"
|
|||
CCKList, CCInt, CCBool, CCArray, CCOrd, CCIO,
|
||||
CCRandom, CCKTree, CCTrie, CCString, CCHashtbl,
|
||||
CCFlatHashtbl, CCSexp, CCMap
|
||||
BuildDepends: bytes
|
||||
XMETARequires: cppo
|
||||
FindlibName: containers
|
||||
|
||||
|
|
|
|||
|
|
@ -604,7 +604,15 @@ module IO : sig
|
|||
@param mode default [0o644]
|
||||
@param flags used by [open_out_gen]. Default: [[Open_creat;Open_wronly]]. *)
|
||||
|
||||
val write_bytes_to : ?mode:int -> ?flags:open_flag list ->
|
||||
string -> Bytes.t t -> unit
|
||||
(** @since NEXT_RELEASE *)
|
||||
|
||||
val write_lines : ?mode:int -> ?flags:open_flag list ->
|
||||
string -> string t -> unit
|
||||
(** Same as {!write_to}, but intercales ['\n'] between each string *)
|
||||
|
||||
val write_bytes_lines : ?mode:int -> ?flags:open_flag list ->
|
||||
string -> Bytes.t t -> unit
|
||||
(** @since NEXT_RELEASE *)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue