Safe Haskell | None |
---|---|
Language | Haskell98 |
- genMethodList :: Name -> [(Name, Method)] -> CodeGen ()
- genMethodInfo :: Name -> Method -> ExcCodeGen ()
- genUnsupportedMethodInfo :: Name -> Method -> CodeGen ()
Documentation
genMethodList :: Name -> [(Name, Method)] -> CodeGen () Source
Generate the MethodList
instance given the list of methods for
the given named type.
genMethodInfo :: Name -> Method -> ExcCodeGen () Source
Generate the MethodInfo
type and instance for the given method.
genUnsupportedMethodInfo :: Name -> Method -> CodeGen () Source
Generate a method info that is not actually callable, but rather gives a type error when trying to use it.