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)
There is a default bmap implementation for Generic types, so instances can derived automatically.
Methods
bmap :: (forall (a :: k). f a -> g a) -> b f -> b g
Instances11FunctorB, …
FunctorB UnitDefined in barbies-2.1.1.0 · Barbies.Internal.TrivialFunctorB VoidDefined in barbies-2.1.1.0 · Barbies.Internal.TrivialFunctorB ProxyDefined in barbies-2.1.1.0 · Barbies.Internal.FunctorBFunctorB (Var a)Defined in hedgehog-1.7 · Hedgehog.Internal.StateFunctorB (Const x)Defined in barbies-2.1.1.0 · Barbies.Internal.FunctorBFunctorB (Constant x)Defined in barbies-2.1.1.0 · Barbies.Internal.FunctorBFunctorB b => FunctorB (Barbie b)Defined in barbies-2.1.1.0 · Barbies.Internal.Wrappers(FunctorB a, FunctorB b) => FunctorB (Product a b)Defined in barbies-2.1.1.0 · Barbies.Internal.FunctorB(FunctorB a, FunctorB b) => FunctorB (Sum a b)Defined in barbies-2.1.1.0 · Barbies.Internal.FunctorBFunctorT b => FunctorB (Flip b f)Defined in barbies-2.1.1.0 · Barbies.Bi(Functor f, FunctorB b) => FunctorB (Compose f b)Defined in barbies-2.1.1.0 · Barbies.Internal.FunctorB