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.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 

data Square Source #

The Square category.

Constructors

Square 

Instances

Instances details
Eq Square Source # 
Instance details

Defined in Math.FiniteCategories.Square

Methods

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

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

Show Square Source # 
Instance details

Defined in Math.FiniteCategories.Square

Methods

showsPrec :: Int -> Square -> ShowS

show :: Square -> String

showList :: [Square] -> ShowS

PrettyPrint Square Source # 
Instance details

Defined in Math.FiniteCategories.Square

Methods

pprint :: Square -> String Source #

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 #