Copyright | Guillaume Sabbagh 2021 |
---|---|
License | GPL-3 |
Maintainer | guillaumesabbagh@protonmail.com |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
A discrete category is a category with no morphism other than identities.
Synopsis
- data DiscreteObject a = DiscreteObject a
- data DiscreteIdentity a = DiscreteIdentity a
- data DiscreteCategory a = DiscreteCategory [a]
Documentation
data DiscreteObject a Source #
A discrete object is just an usual object.
Instances
data DiscreteIdentity a Source #
DiscreteIdentity
is the morphism of the discrete category.
Instances
data DiscreteCategory a Source #
The discrete category is just a list of objects.
DiscreteCategory [a] |