package
Version:
v0.0.13
Opens a new window with list of versions in this module.
Published: Jun 16, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Package conv provides loop converation helpers
-
func AndReduce[From, To any](next func() (From, bool), converter func(From) (To, error), ...) (To, error)
-
func FromIndexed[From, To any](len int, next func(int) From, converter func(from From) (To, error)) breakLoop.Loop[To]
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
FromIndexed - conv.FromIndexed retrieves elements from a indexed source and converts them
Source Files
¶
Click to show internal directories.
Click to hide internal directories.