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

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Modulelinear-base-0.8.1

Data.Profunctor.Linear

  • 2 types
  • 4 classes
  • 1 value
classclass (SymmetricMonoidal m u, Profunctor arr) => Monoidal (m :: Type -> Type -> Type) u (arr :: Type -> Type -> Type) where
#

Methods

  • (***) :: arr a b -> arr x y -> arr (m a x) (m b y)infixr 3
  • unit :: arr u u
Instances8Monoidal, …
classclass Profunctor (arr :: Type -> Type -> Type) where
#

Methods

  • dimap :: (s %1 -> a) -> (b %1 -> t) -> arr a b -> arr s t
  • lmap :: (s %1 -> a) -> arr a t -> arr s t
  • rmap :: (b %1 -> t) -> arr s b -> arr s t
Instances7Profunctor, …
classclass (SymmetricMonoidal m u, Profunctor arr) => Strong (m :: Type -> Type -> Type) u (arr :: Type -> Type -> Type) where
#

Methods

  • first :: arr a b -> arr (m a c) (m b c)
  • second :: arr b c -> arr (m a b) (m a c)
Instances10Strong, …