Safe Haskell | None |
---|---|
Language | Haskell98 |
Data.GI.CodeGen.Overrides
Documentation
Instances
Show Overrides Source # | |
Semigroup Overrides Source # | There is a sensible notion of zero and addition of Overridess, encode this so that we can view the parser as a writer monad of configs. |
Monoid Overrides Source # | There is a sensible notion of zero and addition of Overridess, encode this so that we can view the parser as a writer monad of configs. |
parseOverridesFile :: FilePath -> IO (Either Text Overrides) Source #
Parse the given overrides file, filling in the configuration as needed. In case the parsing fails we return a description of the error instead.