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

Safe HaskellNone
LanguageHaskell2010

HIE.Bios.Ghc.Check

Synopsis

Documentation

checkSyntax Source #

Arguments

:: Options 
-> Cradle 
-> [FilePath]

The target files.

-> IO String 

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

check Source #

Arguments

:: GhcMonad m 
=> Options 
-> [FilePath]

The target files.

-> m (Either String String) 

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

expandTemplate Source #

Arguments

:: Options 
-> Cradle 
-> [FilePath]

The target files.

-> IO String 

Expanding Haskell Template.

expand Source #

Arguments

:: Options 
-> [FilePath]

The target files.

-> Ghc (Either String String) 

Expanding Haskell Template.