Safe Haskell | Trustworthy |
---|
Generics.Deriving.Functor
Generic Functor class
Default method
gmapdefault :: (Generic1 f, GFunctor' (Rep1 f)) => (a -> b) -> f a -> f b
Internal Functor class
class GFunctor' f where
Methods
gmap' :: (a -> b) -> f a -> f b
Instances
GFunctor' V1 | |
GFunctor' U1 | |
GFunctor' Par1 | |
GFunctor' UWord | |
GFunctor' UInt | |
GFunctor' UFloat | |
GFunctor' UDouble | |
GFunctor' UChar | |
GFunctor' UAddr | |
GFunctor f => GFunctor' (Rec1 f) | |
GFunctor' (K1 i c) | |
(GFunctor' f, GFunctor' g) => GFunctor' (:+: f g) | |
(GFunctor' f, GFunctor' g) => GFunctor' (:*: f g) | |
(GFunctor f, GFunctor' g) => GFunctor' (:.: f g) | |
GFunctor' f => GFunctor' (M1 i c f) |