Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- getCompilerOptions :: FilePath -> Cradle a -> IO (CradleLoadResult ComponentOptions)
- getCompilerOptionsWithLogger :: LoggingFunction -> FilePath -> Cradle a -> IO (CradleLoadResult ComponentOptions)
- type LoggingFunction = String -> IO ()
Documentation
getCompilerOptions :: FilePath -> Cradle a -> IO (CradleLoadResult ComponentOptions) Source #
Initialize the DynFlags
relating to the compilation of a single
file or GHC session according to the provided Cradle
.
getCompilerOptionsWithLogger :: LoggingFunction -> FilePath -> Cradle a -> IO (CradleLoadResult ComponentOptions) Source #
type LoggingFunction = String -> IO () Source #