Documentation
¶
Index ¶
- func Drain[T any](up State[T], apply func(T) error)
- type State
- func Finite[T any](gen func() (T, bool)) State[T]
- func Flatten[T any, U any](from State[T], apply func(T) (State[U], error), order bool) State[U]
- func From[T any](source <-chan T) State[T]
- func Move[T any, U any](up State[T], apply func(T) (U, error)) State[U]
- func Of[T any](gen func() (T, error)) State[T]
- func Once[T any](v T) State[T]
- func Reduce[L any, R any, O any](l State[L], r State[R], apply func(L, R) (O, error)) State[O]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.