haskell-gi-0.22.0: Generate Haskell bindings for GObject Introspection capable libraries

Safe HaskellNone
LanguageHaskell98

Data.GI.CodeGen.Overrides

Synopsis

Documentation

data Overrides Source #

Instances
Show Overrides Source # 
Instance details

Defined in Data.GI.CodeGen.Overrides

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.

Instance details

Defined in Data.GI.CodeGen.Overrides

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.

Instance details

Defined in Data.GI.CodeGen.Overrides

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.

filterAPIsAndDeps :: Overrides -> GIRInfo -> [GIRInfo] -> (Map Name API, Map Name API) Source #

Load a given API, applying filtering. Load also any necessary dependencies.