You can search for identifiers within the package.
in-package search v0.2.0
reason-standard
Set.Int
Construct sets of Ints
Int
type nonrec t = (int, Standard__.Core.Int.identity) t
val empty : t
A set with nothing in it.
val singleton : int -> t
Create a set from a single Int
Examples
Set.Int.singleton 5 |> Set.toList = [5]
val ofArray : int array -> t
Create a set from an Array
Array
Set.Int.ofArray [|1;2;3;3;2;1;7|] |> Set.toArray = [|1;2;3;7|]
val ofList : int list -> t
Create a set from a List
List
Set.Int.ofList [1;2;3;3;2;1;7] |> Set.toList = [1;2;3;7]