Documentation ¶
Index ¶
- func CycleSlice[T any](xs []T) producer.Naive[T]
- func FromSlice[T any](xs []T) producer.Naive[T]
- func Iterate[T any](x T, f func(T) T) producer.Naive[T]
- func Once[T any](x T) producer.Naive[T]
- func RangeFloat[T constraints.Float](stop T) producer.Naive[T]
- func RangeFloatBy[T constraints.Float](start, stop, step T) producer.Naive[T]
- func RangeFloatTo[T constraints.Float](start, stop T) producer.Naive[T]
- func RangeInteger[T constraints.Integer](stop T) producer.Naive[T]
- func RangeIntegerBy[T constraints.Integer](start, stop, step T) producer.Naive[T]
- func RangeIntegerTo[T constraints.Integer](start, stop T) producer.Naive[T]
- func Repeat[T any](x T) producer.Naive[T]
- func Replicate[T any](n int, x T) producer.Naive[T]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CycleSlice ¶
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]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.