Maintainer | Toshio Ito <debug.ito@gmail.com> |
---|---|
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- data FrontEvent s i
- data FrontEnd s i = FrontEnd {
- frontDefaultDescription :: i -> ActionDescription
- frontSetGrab :: i -> IO ()
- frontUnsetGrab :: i -> IO ()
- frontNextEvent :: IO (FrontEvent s i)
Documentation
data FrontEvent s i Source #
Event from the front-end. s
is the state of the front-end. i
is the input.
Instances
(Eq i, Eq s) => Eq (FrontEvent s i) Source # | |
Defined in WildBind.FrontEnd (==) :: FrontEvent s i -> FrontEvent s i -> Bool # (/=) :: FrontEvent s i -> FrontEvent s i -> Bool # | |
(Ord i, Ord s) => Ord (FrontEvent s i) Source # | |
Defined in WildBind.FrontEnd 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 i, Show s) => Show (FrontEvent s i) Source # | |
Defined in WildBind.FrontEnd showsPrec :: Int -> FrontEvent s i -> ShowS # show :: FrontEvent s i -> String # showList :: [FrontEvent s i] -> ShowS # |
Interface to the front-end. s
is the state of the front-end,
i
is the input.
FrontEnd | |
|