Copyright | Guillaume Sabbagh 2022 |
---|---|
License | GPL-3 |
Maintainer | guillaumesabbagh@protonmail.com |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Selecting a FullSubcategory
in a Category
yields a FiniteCategory
.
We have to forget the generating set of morphisms of the original Category
as the generators are not always inheritable (see for example the full subcategory of Square
containing the objects A and D).
If the generators are inheritable, you can use the constructor InheritedFullSubcategory
to inherit the generators of the original Category
.
Synopsis
- data FullSubcategory c m o = FullSubcategory c (Set o)
- data InheritedFullSubcategory c m o = InheritedFullSubcategory c (Set o)
Documentation
data FullSubcategory c m o Source #
A FullSubcategory
needs an original category and a set of objects to select in the category.
The generators are forgotten, use InheritedFullSubcategory
if the generators are inheritable.
FullSubcategory c (Set o) |
Instances
data InheritedFullSubcategory c m o Source #
An InheritedFullSubcategory
is a FullSubcategory
where the generators are the same as in the original Category
.
InheritedFullSubcategory c (Set o) |