purescript-0.12.0: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell2010

Language.PureScript.Sugar.TypeClasses.Deriving

Description

This module implements the generic deriving elaboration that takes place during desugaring.

Synopsis

Documentation

deriveInstances :: forall m. (MonadError MultipleErrors m, MonadWriter MultipleErrors m, MonadSupply m) => [ExternsFile] -> Module -> m Module Source #

Elaborates deriving instance declarations by code generation.