Portability | linux |
---|---|
Stability | testing |
Maintainer | ongy |
Safe Haskell | None |
- data PrepHandle = forall m . PollModule m => Prep [MonkyOut] m
- data PostHandle = forall m . PollModule m => Post [MonkyOut] m
- packPrepend :: PollModule a => [MonkyOut] -> Int -> IO a -> IO Modules
- packAppend :: PollModule a => [MonkyOut] -> Int -> IO a -> IO Modules
- data EvtPrepHandle = forall m . EvtModule m => EvtPrep [MonkyOut] m
- data EvtPostHandle = forall m . EvtModule m => EvtPost [MonkyOut] m
- evtPrepend :: EvtModule a => [MonkyOut] -> IO a -> IO Modules
- evtAppend :: EvtModule a => [MonkyOut] -> IO a -> IO Modules
Documentation
data PrepHandle Source
The handle used by this module, contains underlying module and string
forall m . PollModule m => Prep [MonkyOut] m |
data PostHandle Source
The handle used by this module, contains underlying module and string
forall m . PollModule m => Post [MonkyOut] m |
:: PollModule a | |
=> [MonkyOut] | The String to prepend |
-> Int | The refresh rate for this module |
-> IO a | The function to get the module |
-> IO Modules | The returned handle |
Create a module that should be prepended with some string
This allows you to prepend an instance of a module with a fixed String.
For usage look at pollPack
.
:: PollModule a | |
=> [MonkyOut] | The String to prepend |
-> Int | The refresh rate for this module |
-> IO a | The function to get the module |
-> IO Modules | The returned handle |
Create a module that should be appended with some string
This allows you to append an instance of a module with a fixed String.
For usage look at pollPack
.
data EvtPrepHandle Source
EvtModule
prepend type
data EvtPostHandle Source
EvtModule
append type
evtPrepend :: EvtModule a => [MonkyOut] -> IO a -> IO ModulesSource
packPrepend
for EvtModule
s