package core_kernel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t =
  1. | :: of 'a * 'a Reversed_list.t
val sexp_of_t : ('a -> Sexplib0.Sexp.t) -> 'a t -> Sexplib0.Sexp.t
val cons : 'a -> 'a t -> 'a t
val to_rev_list : 'a t -> 'a Reversed_list.t
val rev : 'a t -> 'a nonempty_list
val rev_append : 'a t -> 'a list -> 'a nonempty_list
val rev_map : 'a t -> f:('a -> 'b) -> 'b nonempty_list
val rev_mapi : 'a t -> f:(int -> 'a -> 'b) -> 'b nonempty_list