package batteries

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val find : f:('a -> bool) -> 'a t -> 'a option
val rfind : f:('a -> bool) -> 'a t -> 'a option
val findi : f:(int -> 'a -> bool) -> 'a t -> (int * 'a) option
val rfindi : f:(int -> 'a -> bool) -> 'a t -> (int * 'a) option
val split_at : int -> 'a t -> [ `Invalid_index of int | `Ok of 'a t * 'a t ]
val at : 'a t -> int -> [ `Invalid_index of int | `Ok of 'a ]
val assoc : 'a -> ('a * 'b) t -> 'b option
val assq : 'a -> ('a * 'b) t -> 'b option
OCaml

Innovation. Community. Security.