eventloop-0.8.2.8: 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 In Source #

Instances
Eq In Source # 
Instance details

Defined in Eventloop.Types.Events

Methods

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

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

Show In Source # 
Instance details

Defined in Eventloop.Types.Events

Methods

showsPrec :: Int -> In -> ShowS #

show :: In -> String #

showList :: [In] -> ShowS #

data Out Source #

Instances
Eq Out Source # 
Instance details

Defined in Eventloop.Types.Events

Methods

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

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

Show Out Source # 
Instance details

Defined in Eventloop.Types.Events

Methods

showsPrec :: Int -> Out -> ShowS #

show :: Out -> String #

showList :: [Out] -> ShowS #

Generic Out Source # 
Instance details

Defined in Eventloop.Types.Events

Associated Types

type Rep Out :: Type -> Type #

Methods

from :: Out -> Rep Out x #

to :: Rep Out x -> Out #

NFData Out Source # 
Instance details

Defined in Eventloop.Types.Events

Methods

rnf :: Out -> () #

type Rep Out Source # 
Instance details

Defined in Eventloop.Types.Events

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