hscolour-1.20.3: Colourise Haskell code.

Safe HaskellNone

Language.Haskell.HsColour.ACSS

Description

Formats Haskell source code as HTML with CSS and Mouseover Type Annotations

Synopsis

Documentation

hscolour

Arguments

:: Bool

Whether to include anchors.

-> String

Haskell source code, Annotations as comments at end

-> String

Coloured Haskell source code.

Formats Haskell source code using HTML and mouse-over annotations

hsannot

Arguments

:: Bool

Whether to include anchors.

-> (String, AnnMap)

Haskell Source, Annotations

-> String

Coloured Haskell source code.

Formats Haskell source code using HTML and mouse-over annotations

newtype AnnMap

Constructors

Ann (Map Loc (String, String)) 

Instances

Show AnnMap 

newtype Loc

Constructors

L (Int, Int) 

Instances

Eq Loc 
Ord Loc 
Show Loc 

breakS :: [Char]

srcModuleName :: String -> String