| Safe Haskell | Safe-Inferred |
|---|
Config.Dyre.Params
Description
- data Params cfgType = Params {
- projectName :: String
- configCheck :: Bool
- configDir :: Maybe (IO FilePath)
- cacheDir :: Maybe (IO FilePath)
- realMain :: cfgType -> IO ()
- showError :: cfgType -> String -> cfgType
- hidePackages :: [String]
- ghcOpts :: [String]
- forceRecomp :: Bool
- statusOut :: String -> IO ()
- rtsOptsHandling :: RTSOptionHandling
- includeCurrentDirectory :: Bool
- data RTSOptionHandling
- = RTSReplace [String]
- | RTSAppend [String]
Documentation
This structure is how all kinds of useful data is fed into Dyre. Of
course, only the projectName, realMain, and showError fields
are really necessary. By using the set of default values provided
as defaultParams, you can get all the benefits of
using Dyre to configure your program in only five or six lines of
code.
Constructors
| Params | |
Fields
| |
data RTSOptionHandling Source
Constructors
| RTSReplace [String] | |
| RTSAppend [String] |