HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Modulelinear-base-0.8.1

Data.Bifunctor.Linear.Internal.Bifunctor

  • 1 class
classclass Bifunctor (p :: Type -> Type -> Type) where
#

Methods

  • bimap :: (a %1 -> b) -> (c %1 -> d) -> p a c %1 -> p b d
  • first :: (a %1 -> b) -> p a c %1 -> p b c
  • second :: (b %1 -> c) -> p a b %1 -> p a c
Instances2Bifunctor
  • Bifunctor EitherDefined in linear-base-0.8.1 · Data.Bifunctor.Linear.Internal.Bifunctor
  • Bifunctor Tuple2Defined in linear-base-0.8.1 · Data.Bifunctor.Linear.Internal.Bifunctor