HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulelinear-base-0.8.1

Data.Bifunctor.Linear.Internal.Bifunctor

Synopsis
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