License | BSD-style (see the file LICENSE) |
---|---|
Maintainer | sjoerd@w3future.com |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Lan j f b = forall a. Lan (j a b) (f a)
- lanSquare :: Square '[j] '[] '[f] '[Lan j f]
- lanFactor :: (Profunctor h, IsFList gs) => Square '[j, h] '[] '[f] gs -> Square '[h] '[] '[Lan j f] gs
- newtype Ran j f a = Ran {
- runRan :: forall b. j a b -> f b
- ranSquare :: Square '[j] '[] '[Ran j g] '[g]
- ranFactor :: (Profunctor j, IsFList fs) => Square '[h, j] '[] fs '[g] -> Square '[h] '[] fs '[Ran j g]
Documentation
The left Kan extension of a functor f
along a profunctor j
.
The left Kan extension of a functor f
along a functor g
is
.Lan
(Costar
g) f
forall a. Lan (j a b) (f a) |
lanFactor :: (Profunctor h, IsFList gs) => Square '[j, h] '[] '[f] gs -> Square '[h] '[] '[Lan j f] gs Source #