| Copyright | (c) Song Zhang |
|---|---|
| License | BSD-style (see the LICENSE file) |
| Maintainer | haskell.zhang.song `at` hotmail.com |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.Derive.TopDown
Description
Synopsis
Documentation
module Data.Derive.TopDown.Instance
module Data.Derive.TopDown.TH
module Data.Derive.TopDown.CxtGen
stock :: DerivStrategy Source #
The name sock and anyclass are still allowed to be used as functions or arguments.
See https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/DerivingStrategies
anyclass :: DerivStrategy Source #
The name sock and anyclass are still allowed to be used as functions or arguments.
See https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/DerivingStrategies
newtype_ :: DerivStrategy Source #
The name sock and anyclass are still allowed to be used as functions or arguments.
See https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/DerivingStrategies
data DerivStrategy #
What the user explicitly requests when deriving an instance.
Constructors
| StockStrategy | A "standard" derived instance |
| AnyclassStrategy | -XDeriveAnyClass |
| NewtypeStrategy | -XGeneralizedNewtypeDeriving |