haskell-gi-0.26.0: Generate Haskell bindings for GObject Introspection capable libraries
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.GI.CodeGen.OverloadedMethods

Synopsis

Documentation

genMethodList :: Name -> [(Name, Method)] -> CodeGen e () Source #

Generate the MethodList instance given the list of methods for the given named type. Returns a Haddock comment summarizing the list of methods available.

genMethodInfo :: Name -> Method -> ExcCodeGen () Source #

Generate the MethodInfo type and instance for the given method.

genUnsupportedMethodInfo :: Name -> Method -> CodeGen e () Source #

Generate a method info that is not actually callable, but rather gives a type error when trying to use it.