 | category-extras-0.53.6: Various modules and constructs inspired by category theory | Contents | Index |
|
| Control.Morphism.Span | | Portability | non-portable (rank-2 polymorphism) | | Stability | experimental | | Maintainer | Edward Kmett <ekmett@gmail.com> |
|
|
|
| Description |
| Spans and Cospans
http://en.wikipedia.org/wiki/Span_(category_theory)
|
|
|
| Documentation |
|
| newtype Span (~>) x y z |
| Constructors | | Span | | | runSpan :: (y ~> x, y ~> z) | |
|
|
|
|
| newtype Cospan (~>) x y z |
| Constructors | | Cospan | | | runCospan :: (x ~> y, z ~> y) | |
|
|
|
|
| Produced by Haddock version 2.1.0 |