| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.ZipMatchK.Functor
Contents
Description
This module provides GenericK, ZipMatchK and ZipMatchFoldK instances for Sum and Product,
to enable the use of ZipMatchK with the data types à la carte approach.
The ZipMatchK and ZipMatchFoldK instances are written out, in the form that
Data.ZipMatchK.TH derives, rather than taken from the generic default,
which converts every node to its Generics.Kind representation and back.
Orphan instances
| (ZipMatchFoldK f, ZipMatchFoldK g) => ZipMatchFoldK (Product f g :: Type -> Type) Source # | Note: instance is limited to |
| (ZipMatchFoldK f, ZipMatchFoldK g) => ZipMatchFoldK (Sum f g :: Type -> Type) Source # | Note: instance is limited to |
| (ZipMatchK f, ZipMatchK g) => ZipMatchK (Product f g :: Type -> Type) Source # | Note: instance is limited to |
| (ZipMatchK f, ZipMatchK g) => ZipMatchK (Sum f g :: Type -> Type) Source # | Note: instance is limited to |
| GenericK (Product f g :: k -> Type) Source # | |
| GenericK (Sum f g :: k -> Type) Source # | |