Portability | Linux |
---|---|
Stability | testing |
Maintainer | ongy, moepi |
Safe Haskell | None |
This module contains the main logic for monky.
This has to be included in the Monky.hs. The entry point for monky is startLoop
which has to be called with a [IO
Modules
].
This type was chosen to make the syntax in the config file prettier.
The submodules of this generally provide an interface based on handles. To use them, get the handle at the beginning of you application and hand it to other functions later on.
- startLoop :: MonkyOutput o => IO o -> [IO Modules] -> IO ()
Documentation
startLoop :: MonkyOutput o => IO o -> [IO Modules] -> IO ()Source
Start the mainLoop of monky. This should be the return type of your main