HaRe-0.7.2.8: the Haskell Refactorer.

Safe HaskellNone

Language.Haskell.Refact.Utils.GhcVersionSpecific

Description

This module contains all the code that depends on a specific version of GHC, and should be the only one requiring CPP

Synopsis

Documentation

showGhc :: Outputable a => a -> StringSource

Show a GHC API structure

prettyprint :: Outputable a => a -> StringSource

prettyprint2 :: Outputable a => a -> StringSource

ppType :: Type -> StringSource

getDataConstructors :: LHsDecl n -> [LConDecl n]Source

setGhcContext :: GhcMonad m => ModSummary -> m ()Source