hie-bios-0.12.0: Set up a GHC API session
Safe HaskellSafe-Inferred
LanguageHaskell2010

HIE.Bios.Ghc.Check

Synopsis

Documentation

checkSyntax Source #

Arguments

:: Show a 
=> LogAction IO (WithSeverity Log) 
-> LogAction IO (WithSeverity Log) 
-> Cradle a 
-> [FilePath]

The target files.

-> IO String 

Checking syntax of a target file using GHC. Warnings and errors are returned.

check Source #

Arguments

:: GhcMonad m 
=> LogAction IO (WithSeverity Log) 
-> [FilePath]

The target files.

-> m (Either String String) 

Checking syntax of a target file using GHC. Warnings and errors are returned.