Maintainer | ongy |
---|---|
Stability | testing |
Portability | linux |
Safe Haskell | None |
Language | Haskell2010 |
- data PrepHandle = PollModule m => Prep [MonkyOut] m
- data PostHandle = 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 = EvtModule m => EvtPrep [MonkyOut] m
- data EvtPostHandle = 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
PollModule m => Prep [MonkyOut] m |
data PostHandle Source #
The handle used by this module, contains underlying module and string
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 Modules Source #
packPrepend
for EvtModule
s