-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Running newly generated Haskell source module. -- -- To make sure freshly generated code runs, we need to make it run in -- StackCabalGHC environment. @package run-haskell-module @version 0.0.1 -- | Functions for running generated modules module Language.Haskell.RunHaskellModule data RunOptions RunOptions :: Bool -> Bool -> [String] -> RunOptions [verbose] :: RunOptions -> Bool [showStdout] :: RunOptions -> Bool [compileArgs] :: RunOptions -> [String] -- | Find ghc with cabal or stack and compile Haskell module with specified -- arguments compileHaskellModule :: FilePath -> [String] -> IO ExitCode -- | Find ghc with cabal or stack and compile Haskell module with specified -- arguments and run options compileHaskellModule' :: RunOptions -> FilePath -> [String] -> IO ExitCode -- | Find ghc with cabal or stack and run Haskell module in specified file -- with arguments runHaskellModule :: FilePath -> [String] -> IO ExitCode -- | Find ghc with cabal or stack and run Haskell module in specified file -- with arguments and run options runHaskellModule' :: RunOptions -> FilePath -> [String] -> IO ExitCode instance Data.Default.Class.Default Language.Haskell.RunHaskellModule.RunOptions