sets

package
v0.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Collect added in v0.8.0

func Collect[T comparable](src iter.Seq[T]) map[T]bool

func Cross

func Cross[K comparable, A, B any](
	set_a map[K]A,
	set_b map[K]B,
) map[K]A

func FromSlice

func FromSlice[T comparable](src []T) map[T]bool

func MapKeys

func MapKeys[K comparable, V any](src map[K]V) map[K]bool

func MapValues

func MapValues[K, V comparable](src map[K]V) map[V]bool

func Sub

func Sub[K comparable, A, B any](
	set_a map[K]A,
	set_b map[K]B,
) map[K]A

func Union

func Union[K comparable, T any](
	set_a map[K]T,
	set_b map[K]T,
) map[K]T

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL