| Safe Haskell | Safe | 
|---|---|
| Language | Haskell2010 | 
Language.Haskell.RunHaskellModule
Description
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
Constructors
| RunOptions | |
| Fields 
 | |
Instances
| Default RunOptions Source # | |
| Defined in Language.Haskell.RunHaskellModule Methods 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