You can search for identifiers within the package.
in-package search v0.2.0
tablecloth-base
Set.String
Construct sets of Strings
String
type nonrec t = Of(Tablecloth__.TableclothString).t
val empty : t
A set with nothing in it.
val singleton : string -> t
Create a set of a single String.
Examples
Set.String.singleton "Bat" |> Set.to_list = ["Bat"]
val from_array : string array -> t
Create a set from an Array.
Array
Set.String.from_array [|"a";"b";"g";"b";"g";"a";"a"|] |> Set.to_array = [|"a";"b";"g"|]
val from_list : string list -> t
Create a set from a List.
List
Set.String.from_list [|"a";"b";"g";"b";"g";"a";"a"|] |> Set.to_list = ["a";"b";"g"]