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