Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Data.GI.CodeGen.Overrides
Documentation
Instances
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. |
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. |
Show Overrides Source # | |
parseOverrides :: Text -> IO (Either Text Overrides) Source #
Parse the given overrides, filling in the configuration as needed. In case the parsing fails we return a description of the error instead.