package cps_toolbox
-
cps_toolbox
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type 'a compare = 'a -> 'a -> Order.t
val null : 'a tree
val fold : 'r -> (int -> int -> 'a -> 'r -> 'r -> 'r) -> 'a tree -> 'r
val get_count : 'a tree -> int
val get_height : 'a tree -> int
val get_member : int -> 'a tree -> (unit -> 'r) -> ('a -> 'r) -> 'r
val get_leftmost : 'a tree -> (unit -> 'r) -> ('a -> 'r) -> 'r
val get_rightmost : 'a tree -> (unit -> 'r) -> ('a -> 'r) -> 'r
val to_list : 'a tree -> 'a list
val from_list : 'a list -> 'a tree