Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- genMethodList :: Name -> [(Name, Method)] -> CodeGen e ()
- genMethodInfo :: Name -> Method -> ExcCodeGen ()
- genUnsupportedMethodInfo :: Name -> Method -> CodeGen e ()
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.