| Maintainer | ongy |
|---|---|
| Stability | testing |
| Portability | linux |
| Safe Haskell | None |
| Language | Haskell2010 |
Monky.Examples.Prepend
Description
- 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
Constructors
| PollModule m => Prep [MonkyOut] m |
Instances
data PostHandle Source #
The handle used by this module, contains underlying module and string
Constructors
| PollModule m => Post [MonkyOut] m |
Instances
Arguments
| :: 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.
Arguments
| :: 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.
evtPrepend :: EvtModule a => [MonkyOut] -> IO a -> IO Modules Source #
packPrepend for EvtModules