package phylogenetics

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

Module Phylogenetics.List1Source

Sourcetype 'a t =
  1. | Cons of 'a * 'a list
include Sexplib0.Sexpable.S1 with type 'a t := 'a t
Sourceval t_of_sexp : (Sexplib0.Sexp.t -> 'a) -> Sexplib0.Sexp.t -> 'a t
Sourceval sexp_of_t : ('a -> Sexplib0.Sexp.t) -> 'a t -> Sexplib0.Sexp.t
Sourceval hd : 'a t -> 'a
Sourceval length : _ t -> int
Sourceval singleton : 'a -> 'a t
Sourceval cons : 'a -> 'a list -> 'a t
Sourceval cons1 : 'a -> 'a t -> 'a t
Sourceval init : int -> f:(int -> 'a) -> 'a t
Sourceval rev : 'a t -> 'a t
Sourceval map : 'a t -> f:('a -> 'b) -> 'b t
Sourceval mapi : 'a t -> f:(int -> 'a -> 'b) -> 'b t
Sourceval map2 : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> ('c t, [> `Unequal_lengths ]) result
Sourceval map2_exn : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
Sourceval filter : 'a t -> f:('a -> bool) -> 'a list
Sourceval filter_map : 'a t -> f:('a -> 'b option) -> 'b list
Sourceval iter : 'a t -> f:('a -> unit) -> unit
Sourceval fold : 'a t -> init:'c -> f:('c -> 'a -> 'c) -> 'c
Sourceval fold_right : 'a t -> init:'c -> f:('a -> 'c -> 'c) -> 'c
Sourceval reduce : 'a t -> f:('a -> 'a -> 'a) -> 'a
Sourceval to_list : 'a t -> 'a list
Sourceval of_list : 'a list -> 'a t option
Sourceval of_list_exn : 'a list -> 'a t
Sourceval unzip : ('a * 'b) t -> 'a t * 'b t
Sourceval for_all : 'a t -> f:('a -> bool) -> bool
Sourceval exists : 'a t -> f:('a -> bool) -> bool
Sourceval sort : 'a t -> compare:('a -> 'a -> int) -> 'a t