wild-bind-0.1.0.3: Dynamic key binding framework

MaintainerToshio Ito <debug.ito@gmail.com>
Safe HaskellSafe
LanguageHaskell2010

WildBind.FrontEnd

Description

Data types and type classes about front-ends.

You have to look at this module if you want to create a front-end implementation.

Synopsis

Documentation

data FrontEvent s i Source #

Event from the front-end. s is the state of the front-end. i is the input.

Constructors

FEInput i

An event that a new input is made.

FEChange s

An event that the front-end state is changed.

Instances

(Show s, Show i) => Show (FrontEvent s i) Source # 

Methods

showsPrec :: Int -> FrontEvent s i -> ShowS #

show :: FrontEvent s i -> String #

showList :: [FrontEvent s i] -> ShowS #

data FrontEnd s i Source #

Interface to the front-end. s is the state of the front-end, i is the input.

Constructors

FrontEnd 

Fields