package biotk

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Biotk.List1Source

Sourcetype 'a t =
  1. | Cons of 'a * 'a list
Sourceval singleton : 'a -> 'a t
Sourceval cons : 'a -> 'a list -> 'a t
Sourceval init : int -> f:(int -> 'a) -> 'a t
Sourceval hd : 'a t -> 'a
Sourceval map : 'a t -> f:('a -> 'b) -> 'b t
Sourceval filter_map : 'a t -> f:('a -> 'b option) -> 'b t option
Sourceval iter : 'a t -> f:('a -> unit) -> unit
Sourceval fold : 'a t -> init:'c -> f:('c -> 'a -> 'c) -> 'c
Sourceval of_list_exn : 'a list -> 'a t
Sourceval to_list : 'a t -> 'a list
Sourceval for_all : 'a t -> f:('a -> bool) -> bool
Sourceval exists : 'a t -> f:('a -> bool) -> bool
OCaml

Innovation. Community. Security.