Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class MonadBaseControl IO m => MonadControl m where Source #
type ControlConstraint m a :: Constraint Source #
Give a constraint to allow doInbetween
to handle a polymorphic argument.
This is usfeul to allow arguments wrapped in monadic state StM
from running
MonadGamma
and MonadRecolor
.
:: ControlConstraint m a | |
=> a | the returned value from the last call of |
-> m () | the side effect to be run inbetween recoloring |
This function will be called after recoloring the screen.