Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Generics.Deriving.Functor
Contents
- class GFunctor f where
- gmapdefault :: (Generic1 f, GFunctor' (Rep1 f)) => (a -> b) -> f a -> f b
GFunctor class
Methods
gmap :: (a -> b) -> f a -> f b #
gmap :: (Generic1 f, GFunctor' (Rep1 f)) => (a -> b) -> f a -> f b #
Instances
GFunctor [] # | |
GFunctor Maybe # | |
GFunctor IO # | |
GFunctor Identity # | |
GFunctor Min # | |
GFunctor Max # | |
GFunctor First # | |
GFunctor Last # | |
GFunctor WrappedMonoid # | |
GFunctor Option # | |
GFunctor NonEmpty # | |
GFunctor Complex # | |
GFunctor ZipList # | |
GFunctor Dual # | |
GFunctor Sum # | |
GFunctor Product # | |
GFunctor First # | |
GFunctor Last # | |
GFunctor ((->) r) # | |
GFunctor (Either a) # | |
GFunctor ((,) a) # | |
GFunctor (Arg a) # | |
GFunctor (Proxy *) # | |
GFunctor (Const * m) # | |
GFunctor f => GFunctor (Alt * f) # | |
(GFunctor f, GFunctor g) => GFunctor (Sum * f g) # | |
(GFunctor f, GFunctor g) => GFunctor (Product * f g) # | |
Default method
gmapdefault :: (Generic1 f, GFunctor' (Rep1 f)) => (a -> b) -> f a -> f b #