package plato

  1. Overview
  2. Docs
type t
type path = t
include Collections.Abc.SEQUENCE with type key := int and type e := path and type t := t
include Collections.Abc.MIN_SEQUENCE with type e := path and type t := t and type key := int
val getitem : int -> t -> path
include Collections.Abc.REVERSIBLE with type e := path and type t := t and type key := int
include Collections.Abc.ITERABLE with type e := path and type t := t and type key := int
val reversed : (int -> path -> unit) -> t -> unit
val reversed_fold : (int -> path -> 'acc -> 'acc) -> t -> 'acc -> 'acc
include Collections.Abc.COLLECTION with type e := path and type t := t and type key := int and type i := path
include Collections.Abc.SIZED with type t := t
val len : t -> int
include Collections.Abc.ITERABLE with type e := path and type t := t and type key := int
val iter : (int -> path -> unit) -> t -> unit
val fold : (int -> path -> 'acc -> 'acc) -> t -> 'acc -> 'acc
include Collections.Abc.CONTAINER with type t := t and type i := path
val contains : path -> t -> bool