hscolour-1.6: Colourise Haskell code.Source codeContentsIndex
Language.Haskell.HsColour.HTML
Contents
Internals
Description
Formats Haskell source code using HTML with font tags.
Synopsis
hscolour :: ColourPrefs -> Bool -> String -> String
renderAnchors :: ((TokenType, String) -> String) -> Either String (TokenType, String) -> String
renderComment :: String -> String
escape :: [Char] -> [Char]
Documentation
hscolourSource
:: ColourPrefsColour preferences.
-> BoolWhether to include anchors
-> StringHaskell source code.
-> StringColoured Haskell source code.
Formats Haskell source code using HTML with font tags.
Internals
renderAnchors :: ((TokenType, String) -> String) -> Either String (TokenType, String) -> StringSource
renderComment :: String -> StringSource
escape :: [Char] -> [Char]Source
Produced by Haddock version 2.6.0