Kxclib.List0module Ops_piping : sig ... endinclude module type of struct include Ops_piping endinclude module type of struct include Stdlib.List endval iota : int -> int tval iota1 : int -> int tdeassoc_opt k l removes entry keyed k from l, interpreted as an association list, and return v, l' where v is the value of the entry being removed or None, and l' is the list after the removal, or semantically unchanged if the key does not exist. note that entries in l' may differ in order wrt. l.
if there are multiple entries keyed k, v will be Some _ and l' will differ from the original, but otherwise the behavior is unspecified
same as deassoc_opt except using (==) when comparing keys
same as deassoc_opt but different return type
same as deassq_opt but different return type
same as deassoc_opt but throws Not_found when the requested key does not exist
same as deassq_opt but throws Not_found when the requested key does not exist
val reduce : ('a -> 'b -> 'a) -> 'c t -> 'dval reduce_opt : ('a -> 'b -> 'a) -> 'c t -> 'd optionval min_opt : ('a -> 'b -> int) -> 'c t -> 'd optionval max_opt : ('a -> 'b -> int) -> 'c t -> 'd optionval min : ('a -> 'a -> int) -> 'a t -> 'bval max : ('a -> 'a -> int) -> 'a t -> 'bval hd : 'a t -> 'bval tl : 'a t -> 'b listval take : int -> 'a t -> 'a listpred list returns the number of elements e in list that satisfies pred
val iter' : ('a -> unit) -> ('b -> unit) -> 'c t -> unitval interpolate : 'a -> 'b t -> 'c listval filteri : (int -> 'a -> bool) -> 'b t -> 'c listval empty : 'a t -> boolval return : 'a -> 'b t