reflex-vty-0.1.1.0: Reflex FRP host and widgets for vty applications

Safe HaskellNone
LanguageHaskell2010

Reflex.Class.Switchable

Description

 
Synopsis

Documentation

class Reflex t => Switchable t w | w -> t where Source #

Class representing things that can be switched when the provided event occurs

Methods

switching :: MonadHold t m => w -> Event t w -> m w Source #

Instances
(Reflex t, Switchable t a, Switchable t b) => Switchable t (a, b) Source # 
Instance details

Defined in Reflex.Class.Switchable

Methods

switching :: MonadHold t m => (a, b) -> Event t (a, b) -> m (a, b) Source #

Reflex t => Switchable t (Behavior t a) Source # 
Instance details

Defined in Reflex.Class.Switchable

Methods

switching :: MonadHold t m => Behavior t a -> Event t (Behavior t a) -> m (Behavior t a) Source #

Reflex t => Switchable t (Dynamic t a) Source # 
Instance details

Defined in Reflex.Class.Switchable

Methods

switching :: MonadHold t m => Dynamic t a -> Event t (Dynamic t a) -> m (Dynamic t a) Source #

Reflex t => Switchable t (Event t a) Source # 
Instance details

Defined in Reflex.Class.Switchable

Methods

switching :: MonadHold t m => Event t a -> Event t (Event t a) -> m (Event t a) Source #