hie-core-0.0.1: The core of an IDE

Safe HaskellNone
LanguageHaskell2010

Development.IDE.GHC.Util

Description

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

runGhcEnv :: HscEnv -> Ghc a -> IO a Source #