eventloop-0.8.2.7: A different take on an IO system. Based on Amanda's IO loop, this eventloop takes a function that maps input events to output events. It can easily be extended by modules that represent IO devices or join multiple modules together.

Safe HaskellNone
LanguageHaskell2010

Eventloop.Types.Events

Documentation

data Out Source #

Instances

Eq Out Source # 

Methods

(==) :: Out -> Out -> Bool #

(/=) :: Out -> Out -> Bool #

Show Out Source # 

Methods

showsPrec :: Int -> Out -> ShowS #

show :: Out -> String #

showList :: [Out] -> ShowS #

Generic Out Source # 

Associated Types

type Rep Out :: * -> * #

Methods

from :: Out -> Rep Out x #

to :: Rep Out x -> Out #

NFData Out Source # 

Methods

rnf :: Out -> () #

type Rep Out Source # 
type Rep Out = D1 * (MetaData "Out" "Eventloop.Types.Events" "eventloop-0.8.2.7-HLMH3aXjMz89XaMriCCZgX" False) ((:+:) * ((:+:) * ((:+:) * (C1 * (MetaCons "OutFile" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * FileOut))) (C1 * (MetaCons "OutTimer" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * TimerOut)))) ((:+:) * (C1 * (MetaCons "OutStdOut" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * StdOutOut))) ((:+:) * (C1 * (MetaCons "OutStdIn" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * StdInOut))) (C1 * (MetaCons "OutCanvas" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * CanvasOut)))))) ((:+:) * ((:+:) * (C1 * (MetaCons "OutBasicShapes" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * BasicShapesOut))) (C1 * (MetaCons "OutDrawTrees" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * DrawTreesOut)))) ((:+:) * (C1 * (MetaCons "OutGraphs" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * GraphsOut))) ((:+:) * (C1 * (MetaCons "OutStatefulGraphics" PrefixI False) ((:*:) * (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * CanvasId)) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [StatefulGraphicsOut])))) (C1 * (MetaCons "Stop" PrefixI False) (U1 *))))))