package sequence

  1. Overview
  2. Docs
type (!'a, !'b) sequenceable = {
  1. to_seq : 'b -> 'a t;
  2. of_seq : 'a t -> 'b;
}
type (!'a, !'b) addable = {
  1. empty : 'b;
  2. add : 'b -> 'a -> 'b;
}
type !'a monoid = ('a, 'a) addable
type (!'a, !'b) iterable = {
  1. iter : ('a -> unit) -> 'b -> unit;
}
val sequenceable : ('a, 'a t) sequenceable
val iterable : ('a, 'a t) iterable
val monoid : 'a t monoid
val of_iterable : ('a, 'b) iterable -> 'b -> 'a t
val to_addable : ('a, 'b) addable -> 'a t -> 'b
OCaml

Innovation. Community. Security.