Constructors
CurriedrunCurried :: forall r. g (a -> r) -> h r
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27
Modulekan-extensions-5.2.7Haskell2010
Day f -| Curried fDay f ~ when f preserves colimits / is a left adjoint. (Due in part to the
strength of all functors in Hask.)Compose f
So by the uniqueness of adjoints, when f is a left adjoint, Curried f ~ Rift f
CurriedrunCurried :: forall r. g (a -> r) -> h rThe universal property of Curried
toCurried . fromCurried ≡ id
fromCurried . toCurried ≡ id
This is the counit of the Day f -| Curried f adjunction
This is the unit of the Day f -| Curried f adjunction
Curried f Identity a is isomorphic to the right adjoint to f if one exists.
adjointToCurried . curriedToAdjoint ≡ id
curriedToAdjoint . adjointToCurried ≡ id
Curried f Identity a is isomorphic to the right adjoint to f if one exists.
Curried f h a is isomorphic to the post-composition of the right adjoint of f onto h if such a right adjoint exists.
Curried f h a is isomorphic to the post-composition of the right adjoint of f onto h if such a right adjoint exists.
curriedToComposedAdjoint . composedAdjointToCurried ≡ id
composedAdjointToCurried . curriedToComposedAdjoint ≡ id
The natural isomorphism between f and Curried f f.
lowerCurried . liftCurried ≡ id
liftCurried . lowerCurried ≡ id
lowerCurried (liftCurried x) -- definition
lowerCurried (Curried (<*> x)) -- definition
(<*> x) (pure id) -- beta reduction
pure id <*> x -- Applicative identity law
x
Lower Curried by applying pure id to the continuation.
See liftCurried.
Indexed applicative composition of right Kan lifts.