add CCListLabels.to_string

This commit is contained in:
Fardale 2019-10-28 13:05:40 +01:00
parent 9c375ed93e
commit eb860afc29

View file

@ -683,6 +683,12 @@ val random_choose : 'a t -> 'a random_gen
val random_sequence : 'a random_gen t -> 'a t random_gen val random_sequence : 'a random_gen t -> 'a t random_gen
val to_string : ?start:string -> ?stop:string -> ?sep:string ->
('a -> string) -> 'a t -> string
(** [to_string ~start ~stop ~sep item_to_string l] print [l] to a string using
[sep] as a separator between elements of [l].
@since NEXT_RELEASE *)
val to_seq : 'a t -> 'a sequence val to_seq : 'a t -> 'a sequence
(** Return a [sequence] of the elements of the list. *) (** Return a [sequence] of the elements of the list. *)