Language.Haskell.HsColour.Anchors

| hscolour-1.17: Colourise Haskell code. | Contents | Index
Language.Haskell.HsColour.Anchors
Synopsis
insertAnchors :: [(TokenType, String)] -> [Either Anchor (TokenType, String)]
Documentation
insertAnchors :: [(TokenType, String)] -> [Either Anchor (TokenType, String)]
`insertAnchors` places an anchor marker in the token stream before the first defining occurrence of any identifier. Here, before means immediately preceding its type signature, or preceding a (haddock) comment that comes immediately before the type signature, or failing either of those, before the first equation.
Produced by Haddock version 2.7.2