hscolour-1.22: Colourise Haskell code.

Safe HaskellNone
LanguageHaskell98

Language.Haskell.HsColour.ACSS

Description

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

Synopsis

Documentation

hscolour Source

Arguments

:: Bool

Whether to include anchors.

-> Int

Starting line number (for line 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 Source

Arguments

:: Bool

Whether to include anchors.

-> Int

Starting line number (for line anchors).

-> (String, AnnMap)

Haskell Source, Annotations

-> String

Coloured Haskell source code.

Formats Haskell source code using HTML and mouse-over annotations

newtype AnnMap Source

Constructors

Ann (Map Loc (String, String)) 

Instances

newtype Loc Source

Constructors

L (Int, Int) 

Instances