iter

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapSlice

func MapSlice[V any, O any](val []V, fn MapFunc[V, O]) []O

MapSlice creates a new slice from calling a function for every slice element

Types

type MapFunc

type MapFunc[V, O any] func(x V) O

Jump to

Keyboard shortcuts

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