FiniteCategories-0.2.0.0: Finite categories and usual categorical constructions on them.
CopyrightGuillaume Sabbagh 2022
LicenseGPL-3
Maintainerguillaumesabbagh@protonmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Math.Categories.Galaxy

Description

The Galaxy category has every objects and no morphism other than identities.

It is called Galaxy because its underlying graph is composed of a lot of points with no arrow between them.

It is the biggest DiscreteCategory.

Synopsis

Documentation

data StarIdentity a Source #

StarIdentity is the identity of a star (an object) in a Galaxy.

Constructors

StarIdentity a 

Instances

Instances details
Eq a => Eq (StarIdentity a) Source # 
Instance details

Defined in Math.Categories.Galaxy

Methods

(==) :: StarIdentity a -> StarIdentity a -> Bool

(/=) :: StarIdentity a -> StarIdentity a -> Bool

Show a => Show (StarIdentity a) Source # 
Instance details

Defined in Math.Categories.Galaxy

Methods

showsPrec :: Int -> StarIdentity a -> ShowS

show :: StarIdentity a -> String

showList :: [StarIdentity a] -> ShowS

PrettyPrint a => PrettyPrint (StarIdentity a) Source # 
Instance details

Defined in Math.Categories.Galaxy

Eq a => Morphism (StarIdentity a) a Source # 
Instance details

Defined in Math.Categories.Galaxy

Eq a => Category (Galaxy a) (StarIdentity a) a Source # 
Instance details

Defined in Math.Categories.Galaxy

Methods

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 #

data Galaxy a Source #

The Galaxy category has every objects and no morphism other than identities.

Constructors

Galaxy 

Instances

Instances details
Eq (Galaxy a) Source # 
Instance details

Defined in Math.Categories.Galaxy

Methods

(==) :: Galaxy a -> Galaxy a -> Bool

(/=) :: Galaxy a -> Galaxy a -> Bool

Show (Galaxy a) Source # 
Instance details

Defined in Math.Categories.Galaxy

Methods

showsPrec :: Int -> Galaxy a -> ShowS

show :: Galaxy a -> String

showList :: [Galaxy a] -> ShowS

PrettyPrint (Galaxy a) Source # 
Instance details

Defined in Math.Categories.Galaxy

Methods

pprint :: Galaxy a -> String Source #

Eq a => Category (Galaxy a) (StarIdentity a) a Source # 
Instance details

Defined in Math.Categories.Galaxy

Methods

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 #