hscolour-1.19: Colourise Haskell code.

Safe HaskellSafe-Infered

Language.Haskell.HsColour.TTY

Description

Highlights Haskell code with ANSI terminal codes.

Synopsis

Documentation

hscolourSource

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.