package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Mar 12, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func AssociateBy[A ~[]X, X any, Y comparable](input A, assocBy func(X) Y) map[Y]X
-
func MapList[A ~[]X, X, Y any](input A, mapper func(X) Y) []Y
-
func MapMap[X ~map[A]B, Y ~map[A]C, A comparable, B, C any](input X, mapper func(A, B) C) Y
func AssociateBy[A ~[]X, X any, Y comparable](input A, assocBy func(X) Y) map[Y]X
func MapList[A ~[]X, X, Y any](input A, mapper func(X) Y) []Y
func MapMap[X ~map[A]B, Y ~map[A]C, A comparable, B, C any](input X, mapper func(A, B) C) Y
Source Files
¶
Click to show internal directories.
Click to hide internal directories.