xslices

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Difference

func Difference[E cmp.Ordered](s1, s2 []E) []E

func DifferenceFunc

func DifferenceFunc[E any](s1, s2 []E, comp func(E, E) int) []E

func Intersection

func Intersection[E cmp.Ordered](s1, s2 []E) []E

func IntersectionFunc

func IntersectionFunc[E any](s1, s2 []E, comp func(E, E) int) []E

func SymmetricDifference

func SymmetricDifference[E cmp.Ordered](s1, s2 []E) (first, second []E)

func SymmetricDifferenceFunc

func SymmetricDifferenceFunc[E any](s1, s2 []E, comp func(E, E) int) (first, second []E)

func Union

func Union[E cmp.Ordered](s1, s2 []E) []E

func UnionFunc

func UnionFunc[E any](s1, s2 []E, comp func(E, E) int) []E

Types

This section is empty.

Jump to

Keyboard shortcuts

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