FiniteCategories-0.3.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.FiniteCategories.Square

Description

The Square category contains 4 generating arrows forming a square. It has 6 non identity arrows.

Synopsis

Documentation

data SquareOb Source #

Objects of the Square category.

Constructors

SquareA 
SquareB 
SquareC 
SquareD 

Instances

Instances details
PrettyPrint SquareOb Source # 
Instance details

Defined in Math.FiniteCategories.Square

Methods

pprint :: SquareOb -> String Source #

Show SquareOb Source # 
Instance details

Defined in Math.FiniteCategories.Square

Methods

showsPrec :: Int -> SquareOb -> ShowS

show :: SquareOb -> String

showList :: [SquareOb] -> ShowS

Eq SquareOb Source # 
Instance details

Defined in Math.FiniteCategories.Square

Methods

(==) :: SquareOb -> SquareOb -> Bool

(/=) :: SquareOb -> SquareOb -> Bool

Morphism SquareAr SquareOb Source # 
Instance details

Defined in Math.FiniteCategories.Square

Category Square SquareAr SquareOb Source # 
Instance details

Defined in Math.FiniteCategories.Square

FiniteCategory Square SquareAr SquareOb Source # 
Instance details

Defined in Math.FiniteCategories.Square

Methods

ob :: Square -> Set SquareOb Source #

data SquareAr Source #

Morphisms of the Square category.

Instances

Instances details
PrettyPrint SquareAr Source # 
Instance details

Defined in Math.FiniteCategories.Square

Methods

pprint :: SquareAr -> String Source #

Show SquareAr Source # 
Instance details

Defined in Math.FiniteCategories.Square

Methods

showsPrec :: Int -> SquareAr -> ShowS

show :: SquareAr -> String

showList :: [SquareAr] -> ShowS

Eq SquareAr Source # 
Instance details

Defined in Math.FiniteCategories.Square

Methods

(==) :: SquareAr -> SquareAr -> Bool

(/=) :: SquareAr -> SquareAr -> Bool

Morphism SquareAr SquareOb Source # 
Instance details

Defined in Math.FiniteCategories.Square

Category Square SquareAr SquareOb Source # 
Instance details

Defined in Math.FiniteCategories.Square

FiniteCategory Square SquareAr SquareOb Source # 
Instance details

Defined in Math.FiniteCategories.Square

Methods

ob :: Square -> Set SquareOb Source #

data Square Source #

The Square category.

Constructors

Square 

Instances

Instances details
PrettyPrint Square Source # 
Instance details

Defined in Math.FiniteCategories.Square

Methods

pprint :: Square -> String Source #

Show Square Source # 
Instance details

Defined in Math.FiniteCategories.Square

Methods

showsPrec :: Int -> Square -> ShowS

show :: Square -> String

showList :: [Square] -> ShowS

Eq Square Source # 
Instance details

Defined in Math.FiniteCategories.Square

Methods

(==) :: Square -> Square -> Bool

(/=) :: Square -> Square -> Bool

Category Square SquareAr SquareOb Source # 
Instance details

Defined in Math.FiniteCategories.Square

FiniteCategory Square SquareAr SquareOb Source # 
Instance details

Defined in Math.FiniteCategories.Square

Methods

ob :: Square -> Set SquareOb Source #