run-haskell-module-0.0.2: Running newly generated Haskell source module.
Safe HaskellSafe
LanguageHaskell2010

Language.Haskell.RunHaskellModule

Description

Functions for running generated modules

Synopsis

Documentation

data RunOptions Source #

Describes options required for run environment

Constructors

RunOptions 

Fields

Instances

Instances details
Default RunOptions Source # 
Instance details

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