hscolour-1.21: Colourise Haskell code.

Safe HaskellSafe-Inferred
LanguageHaskell98

Language.Haskell.HsColour.TTY

Description

Highlights Haskell code with ANSI terminal codes.

Synopsis

Documentation

hscolour Source

Arguments

:: ColourPrefs

Colour preferences.

-> String

Haskell source code.

-> String

Coloured Haskell source code.

hscolourG :: TerminalType -> ColourPrefs -> String -> [Char] Source

Highlights Haskell code with ANSI terminal codes.