Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class ConfigFormat a Source #
readConfig, writeConfig
Instances
ConfigFormat CompileMode Source # | |
Defined in Cli.ParseMetadata readConfig :: Parser CompileMode writeConfig :: CompileErrorM m => CompileMode -> m [String] | |
ConfigFormat ModuleConfig Source # | |
Defined in Cli.ParseMetadata readConfig :: Parser ModuleConfig writeConfig :: CompileErrorM m => ModuleConfig -> m [String] | |
ConfigFormat CategoryIdentifier Source # | |
Defined in Cli.ParseMetadata readConfig :: Parser CategoryIdentifier writeConfig :: CompileErrorM m => CategoryIdentifier -> m [String] | |
ConfigFormat ObjectFile Source # | |
Defined in Cli.ParseMetadata readConfig :: Parser ObjectFile writeConfig :: CompileErrorM m => ObjectFile -> m [String] | |
ConfigFormat CompileMetadata Source # | |
Defined in Cli.ParseMetadata readConfig :: Parser CompileMetadata writeConfig :: CompileErrorM m => CompileMetadata -> m [String] |
autoReadConfig :: (ConfigFormat a, CompileErrorM m) => String -> String -> m a Source #
autoWriteConfig :: (ConfigFormat a, CompileErrorM m) => a -> m String Source #