Documentation ¶
Index ¶
- func All[T any](p func(T) bool) consumer.Naive[T, bool]
- func And() consumer.Naive[bool, bool]
- func Any[T any](p func(T) bool) consumer.Naive[T, bool]
- func Count[T any]() consumer.Naive[T, int]
- func ForEach[T any](f func(T)) consumer.Naive[T, machine.Void]
- func Includes[T constraints.Ordered](x T) consumer.Naive[T, bool]
- func IsEmpty[T any]() consumer.Naive[T, bool]
- func Or() consumer.Naive[bool, bool]
- func Product[T constraints.Integer | constraints.Float]() consumer.Naive[T, T]
- func Reduce[S, T any](x T, f func(T, S) T) consumer.Naive[S, T]
- func SumFloat[T constraints.Float]() consumer.Naive[T, T]
- func SumInteger[T constraints.Integer]() consumer.Naive[T, T]
- func ToSlice[T any]() consumer.Naive[T, []T]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Product ¶
func Product[T constraints.Integer | constraints.Float]() consumer.Naive[T, T]
func SumInteger ¶
func SumInteger[T constraints.Integer]() consumer.Naive[T, T]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.