Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Functions for running generated modules
Synopsis
- data RunOptions = RunOptions {
- verbose :: Bool
- showStdout :: Bool
- compileArgs :: [String]
- additionalPackages :: [String]
- compileHaskellModule :: FilePath -> [String] -> IO ExitCode
- compileHaskellModule' :: RunOptions -> FilePath -> [String] -> IO ExitCode
- runHaskellModule :: FilePath -> [String] -> IO ExitCode
- runHaskellModule' :: RunOptions -> FilePath -> [String] -> IO ExitCode
Documentation
data RunOptions Source #
Describes options required for run environment
RunOptions | |
|
Instances
Default RunOptions Source # | |
Defined in Language.Haskell.RunHaskellModule def :: RunOptions |
compileHaskellModule :: FilePath -> [String] -> IO ExitCode Source #
Find ghc with cabal or stack and compile Haskell module with specified arguments
compileHaskellModule' :: RunOptions -> FilePath -> [String] -> IO ExitCode Source #
Find ghc with cabal or stack and compile Haskell module with specified arguments and run options
runHaskellModule :: FilePath -> [String] -> IO ExitCode Source #
Find ghc with cabal or stack and run Haskell module in specified file with arguments
runHaskellModule' :: RunOptions -> FilePath -> [String] -> IO ExitCode Source #
Find ghc with cabal or stack and run Haskell module in specified file with arguments and run options