Safe Haskell | None |
---|
- withGHC :: FilePath -> Ghc a -> IO a
- withGHC' :: Ghc a -> IO a
- boot :: Options -> Ghc String
- browse :: Options -> ModuleString -> Ghc String
- check :: Options -> [FilePath] -> Ghc (Either String String)
- info :: Options -> FilePath -> Expression -> Ghc String
- types :: Options -> FilePath -> Int -> Int -> Ghc String
- modules :: Options -> Ghc String
- type Symbol = String
- data SymMdlDb
- getSymMdlDb :: Ghc SymMdlDb
- lookupSym :: Options -> Symbol -> SymMdlDb -> String
Converting the Ghc
monad to the IO
monad
Ghc
utilities
:: Options | |
-> ModuleString | A module name. (e.g. "Data.List") |
-> Ghc String |
Checking syntax of a target file using GHC. Warnings and errors are returned.
:: Options | |
-> FilePath | A target file. |
-> Expression | A Haskell expression. |
-> Ghc String |
Obtaining information of a target expression. (GHCi's info:)
Obtaining type of a target expression. (GHCi's type:)
SymMdlDb
getSymMdlDb :: Ghc SymMdlDbSource
Creating SymMdlDb
.