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.
Click to show internal directories.
Click to hide internal directories.