ghcide-0.0.3: 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.
Synopsis

Documentation

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

data HscEnvEq Source #

An HscEnv with equality.

Instances
Eq HscEnvEq Source # 
Instance details

Defined in Development.IDE.GHC.Util

Show HscEnvEq Source # 
Instance details

Defined in Development.IDE.GHC.Util

NFData HscEnvEq Source # 
Instance details

Defined in Development.IDE.GHC.Util

Methods

rnf :: HscEnvEq -> () #