Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module implements the generic deriving elaboration that takes place during desugaring.
- deriveInstances :: forall m. (MonadError MultipleErrors m, MonadWriter MultipleErrors m, MonadSupply m) => [ExternsFile] -> Module -> m Module
Documentation
deriveInstances :: forall m. (MonadError MultipleErrors m, MonadWriter MultipleErrors m, MonadSupply m) => [ExternsFile] -> Module -> m Module Source #
Elaborates deriving instance declarations by code generation.