module Stack: Core_stack
include Stack_intf.S
val capacity : 'a t -> int
capacity t
returns the length of the array backing t
.val set_capacity : 'a t -> int -> unit
set_capacity t capacity
sets the length of the array backing t
to max capacity
(length t)
. To shrink as much as possible, do set_capacity t 0
.