Conservative Options that doesn't attempt to use EmptyCase (to
prevent users from having to enable that extension at use sites.)
Modulererebase-1.21.2Haskell2010
Data.Functor.Invariant.TH
- 1 type
- 9 values
- Packagererebase-1.21.2
- Exports10
- LanguageHaskell2010
- LicenceMIT
- SourceTH.hs
Generates an Invariant instance declaration for the given data type or data family instance.
Generates an Invariant2 instance declaration for the given data type or data family instance.
Like deriveInvariant2, but takes an Options argument.
Like deriveInvariant, but takes an Options argument.
Generates a lambda expression which behaves like invmap2 (without requiring an Invariant2 instance).
Like makeInvmap2, but takes an Options argument.
Like makeInvmap, but takes an Options argument.
Options that further configure how the functions in Data.Functor.Invariant.TH should behave.