|Various helper routines.
|Put a line into a handle followed by rn and echo to stdout
|Get a line from the handle and echo to stdout
|splitList :: Eq a => a -> [a] -> [[a]]||Source|
Removes the whitespace surrounding a string as well
as the first and last character.
unBracket (asdf) = asdf
Drops the whitespace at the start of the string
Drops the whitespace at the end of the string
Trims the beginning and ending whitespace of a string
Repeadly splits a list by the provided separator and collects the results
|Repeatedly splits a list and collects the results
|Split is like break, but the matching element is dropped.
|Read file with a default value if the file does not exist.
|mapFst :: (a -> b) -> [(a, x)] -> [(b, x)]||Source|
|mapSnd :: (a -> b) -> [(x, a)] -> [(x, b)]||Source|
|revmap :: a -> [a -> b] -> [b]||Source|
|applies the list of functions to the provided argument
|comp f a b compares a and b after apply
|Run an external command. Upon failure print status
|Unsafe tracing, outputs the message and the value to stderr.
|Unsafe tracing messages inside a monad.
|Read in any monad.
|Convert Maybe into an another monad. This is a simple injection that calls
fail when given a Nothing.
|Lifts a bool into a MonadPlus, with False mapped to the mzero.
|notMb a b returns Just a if b is Nothing and Nothing if
b is Just _.
|Takes a list of delays, in seconds, and an action to execute
repeatedly. The action is then executed repeatedly in a separate thread
until the list has been consumed. The first action takes place immediately.
|Similar to periodic but runs in the same thread
|Produced by Haddock version 2.4.2|