# Functions
ListFromSlice constructs a new List that is based on the items from the specified slice.
NewHeap creates a new Heap instance that is configured to use the specified better function to order items.
NewList creates a new List with the given capacity.
NewPool creates a new Pool instance.
NewSet creates a new Set instance with the specified initial capacity, which is only used to preallocate memory and does not act as an upper bound.
NewStack creates a new Stack instance with the specified initial capacity, which only serves to preallocate memory.
SetDifference creates a new Set that holds the difference between the first and the second specified sets.
SetFromMapKeys creates a new Set instance based on the keys of the provided map.
SetFromMapValues creates a new Set instance based on the values of the provided map.
SetFromSlice creates a new Set instance based on the elements contained in the provided slice.
SetIntersection creates a new Set that holds the intersection of the items of the two specified sets.
SetUnion creates a new Set that is the union of the specified sets.
# Structs
Heap is a data structure that orders items when inserted according to a specified ordering.
List represents a sequence of items.
Pool represents a storage structure that can preseve allocated objects for faster reuse.
Set represents a set data structure, where only one instance of a given item is stored.
Stack is an implementation of a stack data structure.