| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Functor.Barbie.Layered
Documentation
class FunctorB b where Source #
Barbie-types that can be mapped over. Instances of FunctorB should
satisfy the following laws:
bmapid=idbmapf .bmapg =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 # | |