package sequence

  1. Overview
  2. Docs
type 'a t
val from_iter : (('a -> unit) -> unit) -> 'a t
val singleton : 'a -> 'a t
val iter : ('a -> unit) -> 'a t -> unit
val iteri : (int -> 'a -> unit) -> 'a t -> unit
val fold : ('b -> 'a -> 'b) -> 'b -> 'a t -> 'b
val map : ('a -> 'b) -> 'a t -> 'b t
val for_all : ('a -> bool) -> 'a t -> bool
val exists : ('a -> bool) -> 'a t -> bool
val filter : ('a -> bool) -> 'a t -> 'a t
val append : 'a t -> 'a t -> 'a t
val concat : 'a t t -> 'a t
val take : int -> 'a t -> 'a t
val drop : int -> 'a t -> 'a t
val rev : 'a t -> 'a t
module List : sig ... end
module Array : sig ... end
module Stack : sig ... end
module Queue : sig ... end
module Hashtbl : sig ... end
module String : sig ... end
module Int : sig ... end
module Set (S : Set.S) : sig ... end
module Map (M : Map.S) : sig ... end
val pp_seq : ?sep:string -> (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a t -> unit
OCaml

Innovation. Community. Security.