| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
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. |
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.