Copyright | Guillaume Sabbagh 2022 |
---|---|
License | GPL-3 |
Maintainer | guillaumesabbagh@protonmail.com |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data StarIdentity a = StarIdentity a
- data Galaxy a = Galaxy
Documentation
data StarIdentity a Source #
StarIdentity
is the identity of a star (an object) in a Galaxy
.
Instances
The Galaxy
category has every objects and no morphism other than identities.
Instances
Eq (Galaxy a) Source # | |
Show (Galaxy a) Source # | |
PrettyPrint (Galaxy a) Source # | |
Eq a => Category (Galaxy a) (StarIdentity a) a Source # | |
Defined in Math.Categories.Galaxy identity :: Galaxy a -> a -> StarIdentity a Source # ar :: Galaxy a -> a -> a -> Set (StarIdentity a) Source # genAr :: Galaxy a -> a -> a -> Set (StarIdentity a) Source # decompose :: Galaxy a -> StarIdentity a -> [StarIdentity a] Source # |