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

Safe HaskellSafe-Inferred

Generics.Deriving.Functor

Contents

Synopsis

GFunctor class

class GFunctor f whereSource

Methods

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

Instances

Default method

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