naive

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CycleSlice

func CycleSlice[T any](xs []T) producer.Naive[T]

func FromSlice

func FromSlice[T any](xs []T) producer.Naive[T]

func Iterate

func Iterate[T any](x T, f func(T) T) producer.Naive[T]

func Once

func Once[T any](x T) producer.Naive[T]

func RangeFloat

func RangeFloat[T constraints.Float](stop T) producer.Naive[T]

func RangeFloatBy

func RangeFloatBy[T constraints.Float](start, stop, step T) producer.Naive[T]

func RangeFloatTo

func RangeFloatTo[T constraints.Float](start, stop T) producer.Naive[T]

func RangeInteger

func RangeInteger[T constraints.Integer](stop T) producer.Naive[T]

func RangeIntegerBy

func RangeIntegerBy[T constraints.Integer](start, stop, step T) producer.Naive[T]

func RangeIntegerTo

func RangeIntegerTo[T constraints.Integer](start, stop T) producer.Naive[T]

func Repeat

func Repeat[T any](x T) producer.Naive[T]

func Replicate

func Replicate[T any](n int, x T) producer.Naive[T]

Types

This section is empty.

Jump to

Keyboard shortcuts

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