hsdev-0.1.6.5: Haskell development library and tool with support of autocompletion, symbol info, go to declaration, find references etc.

Safe HaskellNone
LanguageHaskell98

HsDev.Tools.Ghc.Check

Synopsis

Documentation

checkFiles :: [String] -> Cabal -> [FilePath] -> Maybe Project -> Ghc [Note OutputMessage] Source

Check files and collect warnings and errors

check :: [String] -> Cabal -> Module -> Maybe String -> ExceptT String Ghc [Note OutputMessage] Source

Check module source

checkFile :: [String] -> Cabal -> Module -> ExceptT String Ghc [Note OutputMessage] Source

Check module and collect warnings and errors

checkSource :: [String] -> Cabal -> Module -> String -> ExceptT String Ghc [Note OutputMessage] Source

Check module and collect warnings and errors

data Ghc a :: * -> *

A minimal implementation of a GhcMonad. If you need a custom monad, e.g., to maintain additional state consider wrapping this monad or using GhcT.