Safe Haskell | None |
---|---|
Language | Haskell2010 |
GHC utility functions. Importantly, code using our GHC should never:
- Call runGhc, use runGhcFast instead. It's faster and doesn't require config we don't have.
- Call setSessionDynFlags, use modifyDynFlags instead. It's faster and avoids loading packages.
Documentation
lookupPackageConfig :: UnitId -> HscEnv -> Maybe PackageConfig Source #
prettyPrint :: Outputable a => a -> String Source #