package safa

  1. Overview
  2. Docs
type 'a t
val empty : unit -> 'a t
val singleton : 'a -> 'a t
val push : 'a t -> 'a -> unit
val pop : 'a t -> 'a option
val fold : ('b -> 'a -> 'b) -> 'b -> 'a t -> 'b