hscolour-1.24.4: 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

Instances details
Show AnnMap Source # 
Instance details

Defined in Language.Haskell.HsColour.ACSS

Methods

showsPrec :: Int -> AnnMap -> ShowS

show :: AnnMap -> String

showList :: [AnnMap] -> ShowS

newtype Loc Source #

Constructors

L (Int, Int) 

Instances

Instances details
Eq Loc Source # 
Instance details

Defined in Language.Haskell.HsColour.ACSS

Methods

(==) :: Loc -> Loc -> Bool

(/=) :: Loc -> Loc -> Bool

Ord Loc Source # 
Instance details

Defined in Language.Haskell.HsColour.ACSS

Methods

compare :: Loc -> Loc -> Ordering

(<) :: Loc -> Loc -> Bool

(<=) :: Loc -> Loc -> Bool

(>) :: Loc -> Loc -> Bool

(>=) :: Loc -> Loc -> Bool

max :: Loc -> Loc -> Loc

min :: Loc -> Loc -> Loc

Show Loc Source # 
Instance details

Defined in Language.Haskell.HsColour.ACSS

Methods

showsPrec :: Int -> Loc -> ShowS

show :: Loc -> String

showList :: [Loc] -> ShowS

breakS :: [Char] Source #

srcModuleName :: String -> String Source #