colorize-haskell-1.0.1: Highligt Haskell source
Language.Haskell.Colorize
Synopsis
data Token Source
The different types of that we recognize.
Constructors
Comment
Reserved word
Reserved operator
Variables
Variable operatros
Constructor operators
Special syntax (e.g., parens,brackets)
Integer lieterals
Floating point literals
Character literals
String literals
type Style = Token -> String -> ShowSSource
The type of functions that specify how to render a value.
render :: Style -> String -> ShowSSource
ansiDark :: StyleSource
Annotates tokens with ANSI escape sequences, suitable for a dark termianl
ansiLight :: StyleSource