Safe Haskell | None |
---|
This module contains all the code that depends on a specific version of GHC, and should be the only one requiring CPP
- showGhc :: Outputable a => a -> String
- prettyprint :: Outputable a => a -> String
- prettyprint2 :: Outputable a => a -> String
- lexStringToRichTokens :: RealSrcLoc -> String -> IO [PosToken]
- getDataConstructors :: LHsDecl n -> [LConDecl n]
- setGhcContext :: GhcMonad m => ModSummary -> m ()
Documentation
showGhc :: Outputable a => a -> StringSource
Show a GHC API structure
prettyprint :: Outputable a => a -> StringSource
prettyprint2 :: Outputable a => a -> StringSource
lexStringToRichTokens :: RealSrcLoc -> String -> IO [PosToken]Source
getDataConstructors :: LHsDecl n -> [LConDecl n]Source
setGhcContext :: GhcMonad m => ModSummary -> m ()Source