Portability | GHC |
---|---|
Stability | unstable |
Maintainer | stephen.tetley@gmail.com |
A drawing monad where drawing is analogous to a teletype printing characters, spaces and linebreaks one at a time.
Documentation
Build a microprint within a monad...
Drawings are made in a teletype fashion emitting a character, space or lineMicroprint-break at each step.
runTeletype :: Teletype a -> (a, GreekText)Source
execTeletype :: Teletype a -> GreekTextSource
setRGB :: RGBi -> Teletype ()Source
Change the current drawing colour.
Note - it is permissible to change colour mid-word, but this is the same as having a no-space break and forms a new word.
Draw a character - note in the microprint, characters will be concatenated together to make a word.