Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
fmapDefaultOne :: (GenericK f, GenericK f, GFunctorOne (RepK f), Reqs (RepK f) a b) => (a -> b) -> f a -> f b Source #
class GFunctorOne (f :: LoT (Type -> Type) -> Type) where Source #
type Reqs f a b :: Constraint Source #
Instances
GFunctorOne (U1 :: LoT (Type -> Type) -> Type) Source # | |
GFunctorOneArg t => GFunctorOne (Field t) Source # | |
(GFunctorOne f, GFunctorOne g) => GFunctorOne (f :*: g) Source # | |
(GFunctorOne f, GFunctorOne g) => GFunctorOne (f :+: g) Source # | |
GFunctorOne f => GFunctorOne (c :=>: f) Source # | |
GFunctorOne f => GFunctorOne (M1 i c f) Source # | |
gfmapo' :: forall a b f. (GFunctorOne f, Reqs f a b) => (a -> b) -> f (LoT1 a) -> f (LoT1 b) Source #
class GFunctorOneArg (t :: Atom (Type -> Type) Type) where Source #
Instances
GFunctorOneArg (Var0 :: Atom (Type -> Type) Type) Source # | |
EFunctor f => GFunctorOneArg ('Eval (('Kon f :: Atom (Type -> Type) (Type -> Exp Type)) :@: (Var0 :: Atom (Type -> Type) Type))) Source # | |
GFunctorOneArg ('Kon t :: Atom (Type -> Type) Type) Source # | |
(Functor f, GFunctorOneArg x) => GFunctorOneArg (f :$: x) Source # | |