= 1024" x-on:close-sidebar="sidebar=window.innerWidth >= 1024 && true">
ON THIS PAGE
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
Parameters
Signature
type elt = E.t
val create : int -> t
create n
makes a new set with the given capacity n
.
val clear : t -> unit
clear s
removes all elements from s
.
val cardinal : t -> int
cardinal s
returns the number of elements in s
.
find_exn s x
returns y
if x
and y
are equal, and mem s y
.
- raises Not_found
if
x
not ins
.
ON THIS PAGE