Copyright | Guillaume Sabbagh 2021 |
---|---|
License | GPL-3 |
Maintainer | guillaumesabbagh@protonmail.com |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
The opposite of a category is a category with reversed arrows.
Synopsis
- data OppositeMorphism m o = OpMorph m
- data OppositeCategory c m o = Op c
- opOpMorph :: OppositeMorphism m o -> m
- opOp :: OppositeCategory c m o -> c
Documentation
data OppositeMorphism m o Source #
Morphism in an opposite category.
OpMorph m |
Instances
data OppositeCategory c m o Source #
Opposite category of a given category.
Op c |
Instances
opOpMorph :: OppositeMorphism m o -> m Source #
Transforms back an opposite morphism into the original morphism.
opOp :: OppositeCategory c m o -> c Source #
Transforms an opposite category into the original category.