Copyright | (C) 2015-2016 Ryan Scott |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Ryan Scott |
Portability | Template Haskell |
Safe Haskell | None |
Language | Haskell2010 |
Exports functions to mechanically derive Functor
instances.
For more info on how deriving Functor
works, see
this GHC wiki page.
deriveFunctor
limitations
Be aware of the following potential gotchas:
- Type variables of kind
* -> *
are assumed to haveFunctor
constraints. If this is not desirable, usemakeFmap
'.