package batteries

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val iter : f:('a -> unit) -> 'a t -> unit
val iter2 : f:('a -> 'b -> unit) -> 'a t -> 'b t -> unit
val exists : f:('a -> bool) -> 'a t -> bool
val for_all : f:('a -> bool) -> 'a t -> bool
val fold : f:('b -> 'a -> 'b) -> init:'b -> 'a t -> 'b
val fold2 : f:('a -> 'b -> 'c -> 'c) -> init:'c -> 'a t -> 'b t -> 'c
val iteri : f:(int -> 'a -> unit) -> 'a t -> unit
val iter2i : f:(int -> 'a -> 'b -> unit) -> 'a t -> 'b t -> unit
val foldi : f:(int -> 'a -> 'b -> 'b) -> init:'b -> 'a t -> 'b
val fold2i : f:(int -> 'a -> 'b -> 'c -> 'c) -> init:'c -> 'a t -> 'b t -> 'c
val find : f:('a -> bool) -> 'a t -> 'a
val take_while : f:('a -> bool) -> 'a t -> 'a t
val drop_while : f:('a -> bool) -> 'a t -> 'a t
val map : f:('a -> 'b) -> 'a t -> 'b t
val mapi : f:(int -> 'a -> 'b) -> 'a t -> 'b t
val filter : f:('a -> bool) -> 'a t -> 'a t
val filter_map : f:('a -> 'b option) -> 'a t -> 'b t
val from : f:(unit -> 'a) -> 'a t
val from_while : f:(unit -> 'a option) -> 'a t
val from_loop : init:'b -> f:('b -> 'a * 'b) -> 'a t
val seq : init:'a -> f:('a -> 'a) -> cnd:('a -> bool) -> 'a t
val unfold : init:'b -> f:('b -> ('a * 'b) option) -> 'a t
val init : int -> f:(int -> 'a) -> 'a t
val switch : f:('a -> bool) -> 'a t -> 'a t * 'a t
val compare : ?cmp:('a -> 'a -> int) -> 'a t -> 'a t -> int
val uniq : ?cmp:('a -> 'a -> bool) -> 'a t -> 'a t
module LExceptionless : sig ... end
OCaml

Innovation. Community. Security.