conv

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: MIT Imports: 2 Imported by: 1

Documentation

Overview

Package conv provides loop converation helpers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AndReduce

func AndReduce[From, To any](next func() (From, bool), converter func(From) (To, error), merge func(To, To) To) (To, error)

AndReduce - convert.AndReduce converts elements and merge them into one

func FromIndexed

func FromIndexed[From, To any](len int, next func(int) From, converter func(from From) (To, error)) breakLoop.ConvertIter[From, To]

FromIndexed - conv.FromIndexed retrieves elements from a indexed source and converts them

Types

This section is empty.

Jump to

Keyboard shortcuts

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