Versions in this module Expand all Collapse all v0 v0.0.3 Apr 14, 2021 Changes in this version + const ErrSliceLengthMustBeNonNegative + func Hash(S Interface) uint32 + func Index(cmp compare.CmpFunc, S Interface, x object.Element) (int, error) + func Search(cmp compare.CmpFunc, S Interface, x object.Element) (int, error) + func ToElementSlice(S Interface) []object.Element + type ElementSlice []object.Element + func (S ElementSlice) Entry(i int) object.Element + func (S ElementSlice) Hash() uint32 + func (S ElementSlice) Len() int + func (S ElementSlice) Slice(k int, m int) Interface + func (S ElementSlice) ToElementSlice() []object.Element + type GeneratorFunc func(i int) object.Element + type Interface interface + Entry func(i int) object.Element + Len func() int + func NewGenerator(size int, f GeneratorFunc) (Interface, error) + func ReverseSlice(S Interface) Interface + func Slice(S Interface, k int, m int) Interface