Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Set.PolyConstruct sets which can hold any data type using the polymorphic compare function.
val empty : unit -> 'a tThe empty set.
A great starting point.
val singleton : 'a -> 'a tCreate a set of a single value
Examples
Set.Int.singleton (5, "Emu") |> Set.toList = [(5, "Emu")]