Versions in this module Expand all Collapse all v0 v0.2.0 Jul 3, 2026 Changes in this version + func Reduce[S State](curr S, reducers []Reducer[S], actions ...Action) iter.Seq[State] + type Action func() (Update, error) + type Duplexer interface + Dispatch func(actions Action) tea.Cmd + func New[S State](initialState S, reducers ...Reducer[S]) Duplexer[S] + type Reducer func(curr S, update Update) S + type State any + type StateChangeError struct + type StateChangeMsg interface + Curr func() S + Prev func() S + func NewStateChangeMsg[S State](prev, curr S) StateChangeMsg[S] + type Update any