Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- readConfiguration :: FilePath -> IO TraceConfig
- readConfigurationWithDefault :: FilePath -> TraceConfig -> IO TraceConfig
- configToRepresentation :: TraceConfig -> ConfigRepresentation
Documentation
readConfiguration :: FilePath -> IO TraceConfig Source #
Read a configuration file and returns the internal representation
readConfigurationWithDefault :: FilePath -> TraceConfig -> IO TraceConfig Source #
Read a configuration file and returns the internal representation Uses values which are not in the file fram the defaultConfig
configToRepresentation :: TraceConfig -> ConfigRepresentation Source #
Convert from internal to external representation
Orphan instances
ToJSON TraceConfig Source # | |
toJSON :: TraceConfig -> Value # toEncoding :: TraceConfig -> Encoding # toJSONList :: [TraceConfig] -> Value # toEncodingList :: [TraceConfig] -> Encoding # omitField :: TraceConfig -> Bool # |