Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class FunctorB b where Source #
Barbie-types that can be mapped over. Instances of FunctorB
should
satisfy the following laws:
bmap
id
=id
bmap
f .bmap
g =bmap
(f . g)
Instances
FunctorB (Void :: (Type -> Type) -> Type) Source # | |
FunctorB (Unit :: (Type -> Type) -> Type) Source # | |
FunctorB (Proxy :: (Type -> Type) -> Type) Source # | |
FunctorB (Const a :: (Type -> Type) -> Type) Source # | |
FunctorB (Constant a :: (Type -> Type) -> Type) Source # | |
(FunctorB a, FunctorB b) => FunctorB (Product a b) Source # | |
(FunctorB a, FunctorB b) => FunctorB (Sum a b) Source # | |
(Functor f, FunctorB b) => FunctorB (Compose f b) Source # | |