package lilis

  1. Overview
  2. Docs

CCSequence, Persistent. also available in the standalone package sequence.

type 'a t = 'a CCSequence.t
type 'a stored = 'a CCSequence.t
val singleton : 'a -> 'a t
val map : ('a -> 'b) -> 'a t -> 'b t
val expand : ('a -> 'b t) -> 'a t -> 'b t
val iter : ('a -> unit) -> 'a t -> unit
val fold : ('b -> 'a -> 'b) -> 'b -> 'a t -> 'b
val of_list : 'a list -> 'a stored
val to_list : 'a t -> 'a list
val empty : 'a stored
val store : 'a t -> 'a stored
val gennew : 'a stored -> 'a t
OCaml

Innovation. Community. Security.