Documentation
¶
Index ¶
- func CopyMap(original [][]rune) [][]rune
- func GetSingleKey[K comparable, V any](m map[K]V) K
- func MapsEqual(a, b [][]rune) bool
- func NewCounts(s string) map[rune]int
- func NewIntSet(slice []int) map[int]bool
- func NewRange(start, end int) []int
- func NewRuneSet(s string) map[rune]bool
- func ParseSlice(s string, sep string) []int
- func PrintMap(m [][]rune)
- func ReadLines(filename string) []string
- func ReadMap(filename string) [][]rune
- func SlicesEqual(a, b []int) bool
- func Sum[V constraints.Integer | constraints.Float](xs []V) V
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSingleKey ¶
func GetSingleKey[K comparable, V any](m map[K]V) K
func NewRuneSet ¶
func ParseSlice ¶
func SlicesEqual ¶
func Sum ¶
func Sum[V constraints.Integer | constraints.Float](xs []V) V
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.