ghc-exactprint-0.4.0.0: ExactPrint for GHC

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.GHC.ExactPrint.Lookup

Synopsis

Documentation

keywordToString :: KeywordId -> String Source

Maps AnnKeywordId to the corresponding String representation. There is no specific mapping for the following constructors. AnnOpen, AnnClose, AnnVal, AnnPackageName, AnnHeader, AnnFunId, AnnInfix

unicodeString :: KeywordId -> String Source

Tries to find a unicode equivalent to a KeywordId. If none exists then fall back to find the ASCII version.