hie-bios-0.2.0: Set up a GHC API session

Safe HaskellNone
LanguageHaskell2010

HIE.Bios.Ghc.Load

Synopsis

Documentation

loadFileWithMessage Source #

Arguments

:: GhcMonad m 
=> Maybe Messager 
-> (FilePath, FilePath)

A target file.

-> m (Maybe TypecheckedModule, [TypecheckedModule]) 

Obtaining type of a target expression. (GHCi's type:)

setTargetFilesWithMessage :: GhcMonad m => Maybe Messager -> [(FilePath, FilePath)] -> m () Source #

Set the files as targets and load them.