Safe Haskell | None |
---|---|
Language | Haskell2010 |
The input layer used to be a single function that correctly accounted for the non-threaded runtime by emulating the terminal VMIN adn VTIME handling. This has been removed and replace with a more straightforward parser. The non-threaded runtime is no longer supported.
This is an example of an algorithm where code coverage could be high, even 100%, but the behavior is still under tested. I should collect more of these examples...
Documentation
Input | |
|
data InputBuffer Source
data InputState Source
classifier :: Lens' InputState (String -> KClass) Source
loopInputProcessor :: InputM () Source
addBytesToProcess :: String -> InputM () Source
applyTimingConfig :: Fd -> Config -> IO () Source
dropInvalid :: InputM () Source
stopIfRequested :: InputM () Source
runInputProcessorLoop :: ClassifyMap -> Input -> IORef Bool -> IO () Source
logClassifyMap :: Input -> String -> ClassifyMap -> IO () Source
initInputForFd :: Config -> String -> ClassifyMap -> Fd -> IO Input Source