hsdev-0.3.1.3: Haskell development library

Safe HaskellNone
LanguageHaskell98

HsDev.Tools.Ghc.Check

Synopsis

Documentation

check :: (MonadLog m, GhcMonad m) => Module -> Maybe Text -> m [Note OutputMessage] Source #

Check module source

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.

Instances

Monad Ghc 

Methods

(>>=) :: Ghc a -> (a -> Ghc b) -> Ghc b #

(>>) :: Ghc a -> Ghc b -> Ghc b #

return :: a -> Ghc a #

fail :: String -> Ghc a #

Functor Ghc 

Methods

fmap :: (a -> b) -> Ghc a -> Ghc b #

(<$) :: a -> Ghc b -> Ghc a #

MonadFix Ghc 

Methods

mfix :: (a -> Ghc a) -> Ghc a #

Applicative Ghc 

Methods

pure :: a -> Ghc a #

(<*>) :: Ghc (a -> b) -> Ghc a -> Ghc b #

liftA2 :: (a -> b -> c) -> Ghc a -> Ghc b -> Ghc c #

(*>) :: Ghc a -> Ghc b -> Ghc b #

(<*) :: Ghc a -> Ghc b -> Ghc a #

MonadIO Ghc 

Methods

liftIO :: IO a -> Ghc a #

GhcMonad Ghc 
HasDynFlags Ghc 
ExceptionMonad Ghc 

Methods

gcatch :: Exception e => Ghc a -> (e -> Ghc a) -> Ghc a #

gmask :: ((Ghc a -> Ghc a) -> Ghc b) -> Ghc b #

gbracket :: Ghc a -> (a -> Ghc b) -> (a -> Ghc c) -> Ghc c #

gfinally :: Ghc a -> Ghc b -> Ghc a #

newtype PackageDbStack Source #

Stack of PackageDb in reverse order

Constructors

PackageDbStack 

Instances

Eq PackageDbStack Source # 
Ord PackageDbStack Source # 
Show PackageDbStack Source # 
NFData PackageDbStack Source # 

Methods

rnf :: PackageDbStack -> () #

ToJSON PackageDbStack Source # 
FromJSON PackageDbStack Source # 
Formattable PackageDbStack Source # 
Paths PackageDbStack Source # 
Display PackageDbStack Source # 
EnumContents PackageDbStack Source # 

data Project Source #

Cabal project