simplistic-generics-0.1.0.0: Generic programming without too many type classes

Safe HaskellNone
LanguageHaskell2010

Generics.Simplistic.Derive.Functor

Documentation

gfmap :: OnLeaves1 Trivial Functor f => (a -> b) -> SRep1 f a -> SRep1 f b Source #

gfmap' :: (GenericSy1 f, OnLeaves1 Trivial Functor (Rep1 f)) => (a -> b) -> f a -> f b Source #