wild-bind-0.1.2.1: 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

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

Methods

(==) :: FrontEvent s i -> FrontEvent s i -> Bool #

(/=) :: FrontEvent s i -> FrontEvent s i -> Bool #

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

Methods

compare :: FrontEvent s i -> FrontEvent s i -> Ordering #

(<) :: FrontEvent s i -> FrontEvent s i -> Bool #

(<=) :: FrontEvent s i -> FrontEvent s i -> Bool #

(>) :: FrontEvent s i -> FrontEvent s i -> Bool #

(>=) :: FrontEvent s i -> FrontEvent s i -> Bool #

max :: FrontEvent s i -> FrontEvent s i -> FrontEvent s i #

min :: FrontEvent s i -> FrontEvent s i -> FrontEvent s i #

(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