Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Interface for Python values of type Set
.
val check : Object.t -> bool
check o
returns true
if o
is a Python set.
val clear : Object.t -> unit
Wrapper for PySet_Clear
Wrapper for PySet_Contains
Wrapper for PySet_Discard
val size : Object.t -> int
Wrapper for PySet_Size
to_list_map f o
returns the list of f v
for all elements v in Python set o
.
of_list l
returns then Python set containing all elements from l
.