purebred-0.1.0.0: An mail user agent built around notmuch

Safe HaskellNone
LanguageHaskell2010

UI.Actions

Synopsis

Documentation

focus :: forall a v. (HasViewName v, HasName a, Focusable v a) => Action v a AppState Source #

done :: forall a v. (HasViewName v, Completable a) => Action v a AppState Source #

abort :: forall a v. (HasViewName v, Resetable a) => Action v a AppState Source #

noop :: Action v ctx AppState Source #

A no-op action which just returns the current AppState This action can be used at the start of an Action chain where an immediate mode switch is required

scrollUp :: forall ctx v. Scrollable ctx => Action v ctx AppState Source #

scrollDown :: forall ctx v. Scrollable ctx => Action v ctx AppState Source #

scrollPageUp :: forall ctx v. Scrollable ctx => Action v ctx AppState Source #

scrollPageDown :: forall ctx v. Scrollable ctx => Action v ctx AppState Source #

chain :: Action v ctx AppState -> Action v ctx a -> Action v ctx a Source #

chain' :: forall ctx ctx' a v v'. (HasName ctx', HasViewName v', ViewTransition v v') => Action v ctx AppState -> Action v' ctx' a -> Action v ctx a Source #