ghcide-2.4.0.0: The core of an IDE
Safe HaskellSafe-Inferred
LanguageHaskell2010

Development.IDE.GHC.CoreFile

Description

CoreFiles let us serialize Core to a file in order to later recover it without reparsing or retypechecking

Synopsis

Documentation

data CoreFile #

Constructors

CoreFile 

Fields

Instances

Instances details
Binary CoreFile # 
Instance details

Defined in Development.IDE.GHC.CoreFile

Methods

put_ :: BinHandle -> CoreFile -> IO ()

put :: BinHandle -> CoreFile -> IO (Bin CoreFile)

get :: BinHandle -> IO CoreFile

codeGutsToCoreFile #

Arguments

:: Fingerprint

Hash of the interface this was generated from

-> CgGuts 
-> CoreFile 

typecheckCoreFile :: Module -> IORef TypeEnv -> CoreFile -> IfG CoreProgram #

writeBinCoreFile :: FilePath -> CoreFile -> IO Fingerprint #

Write a core file

getImplicitBinds :: TyCon -> [CoreBind] #

occNamePrefixes :: [Text] #

Prefixes that can occur in a GHC OccName