| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Data.Profunctor.Arrow.Free
Documentation
data Free p a b where Source #
Free monoid in the category of profunctors.
See https://arxiv.org/abs/1406.4823 section 6.2.
Instances
| Mapping p => Mapping (Free p) Source # | |
| Traversing p => Traversing (Free p) Source # | |
Defined in Data.Profunctor.Arrow.Free | |
| Choice p => Choice (Free p) Source # | |
| Closed p => Closed (Free p) Source # | |
Defined in Data.Profunctor.Arrow.Free | |
| Strong p => Strong (Free p) Source # | |
| Profunctor p => Profunctor (Free p) Source # | |
Defined in Data.Profunctor.Arrow.Free | |
| Profunctor p => Category (Free p :: Type -> Type -> Type) Source # | |
foldFree :: Category q => Profunctor q => (p :-> q) -> Free p a b -> q a b Source #
Given a natural transformation this returns a profunctor.