= 768" x-on:close-sidebar="sidebar=window.innerWidth >= 768 && true">
package containers
-
containers
-
containers.data
-
containers.monomorphic
-
containers.sexp
-
containers.top
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type 'a t = 'a list Pervasives.ref
val push : 'a t -> 'a -> unit
val pop : 'a t -> 'a option
val create : unit -> 'a t
Create a new list reference.
val clear : _ t -> unit
Remove all elements.
val lift : ('a list -> 'b) -> 'a t -> 'b
Apply a list function to the content.
val push_list : 'a t -> 'a list -> unit
Add elements of the list at the beginning of the list ref. Elements at the end of the list will be at the beginning of the list ref.