mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
doc
This commit is contained in:
parent
e6abec05d7
commit
4b7897ec82
1 changed files with 3 additions and 0 deletions
|
|
@ -37,6 +37,9 @@ val arrayi : ?start:string -> ?stop:string -> ?sep:string ->
|
||||||
val seq : ?start:string -> ?stop:string -> ?sep:string -> 'a printer -> 'a sequence printer
|
val seq : ?start:string -> ?stop:string -> ?sep:string -> 'a printer -> 'a sequence printer
|
||||||
|
|
||||||
val opt : 'a printer -> 'a option printer
|
val opt : 'a printer -> 'a option printer
|
||||||
|
(** [opt pp] prints options as follows:
|
||||||
|
[Some x] will become "some foo" if [pp x ---> "foo"]
|
||||||
|
[None] will become "none" *)
|
||||||
|
|
||||||
(** In the tuple printers, the [sep] argument is only available
|
(** In the tuple printers, the [sep] argument is only available
|
||||||
@since 0.17 *)
|
@since 0.17 *)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue