Defines the Params
datatype which Dyre uses to define all
program-specific configuration data. Shouldn't be imported
directly, as Config.Dyre
re-exports it.
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 Config.Dyre.defaultParams
, you can get all the benefits of
using Dyre to configure your program in only five or six lines of
code.
Params | |
|