generic-deriving-1.7.0: Generic programming library for generalised deriving.

Safe HaskellSafe-Inferred
LanguageHaskell98

Generics.Deriving.Functor

Contents

Synopsis

GFunctor class

class GFunctor f where Source

Minimal complete definition

Nothing

Methods

gmap :: (a -> b) -> f a -> f b Source

Instances

Default method

gmapdefault :: (Generic1 f, GFunctor' (Rep1 f)) => (a -> b) -> f a -> f b Source