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

UsualCategories.Hat

Description

The Hat category contains two arrows coming from the same object.

Synopsis

Documentation

data HatOb Source #

Object of the Hat category.

Constructors

A 
B 
C 

Instances

Instances details
Eq HatOb Source # 
Instance details

Defined in UsualCategories.Hat

Methods

(==) :: HatOb -> HatOb -> Bool

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

Show HatOb Source # 
Instance details

Defined in UsualCategories.Hat

Methods

showsPrec :: Int -> HatOb -> ShowS

show :: HatOb -> String

showList :: [HatOb] -> ShowS

PrettyPrintable HatOb Source # 
Instance details

Defined in UsualCategories.Hat

Methods

pprint :: HatOb -> String Source #

Morphism HatAr HatOb Source # 
Instance details

Defined in UsualCategories.Hat

GeneratedFiniteCategory Hat HatAr HatOb Source # 
Instance details

Defined in UsualCategories.Hat

FiniteCategory Hat HatAr HatOb Source # 
Instance details

Defined in UsualCategories.Hat

Methods

ob :: Hat -> [HatOb] Source #

identity :: Hat -> HatOb -> HatAr Source #

ar :: Hat -> HatOb -> HatOb -> [HatAr] Source #

arrows :: Hat -> [HatAr] Source #

data HatAr Source #

Morphism of the Hat category.

Constructors

IdA 
IdB 
IdC 
F 
G 

Instances

Instances details
Eq HatAr Source # 
Instance details

Defined in UsualCategories.Hat

Methods

(==) :: HatAr -> HatAr -> Bool

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

Show HatAr Source # 
Instance details

Defined in UsualCategories.Hat

Methods

showsPrec :: Int -> HatAr -> ShowS

show :: HatAr -> String

showList :: [HatAr] -> ShowS

PrettyPrintable HatAr Source # 
Instance details

Defined in UsualCategories.Hat

Methods

pprint :: HatAr -> String Source #

Morphism HatAr HatOb Source # 
Instance details

Defined in UsualCategories.Hat

GeneratedFiniteCategory Hat HatAr HatOb Source # 
Instance details

Defined in UsualCategories.Hat

FiniteCategory Hat HatAr HatOb Source # 
Instance details

Defined in UsualCategories.Hat

Methods

ob :: Hat -> [HatOb] Source #

identity :: Hat -> HatOb -> HatAr Source #

ar :: Hat -> HatOb -> HatOb -> [HatAr] Source #

arrows :: Hat -> [HatAr] Source #

data Hat Source #

The Hat category.

Constructors

Hat 

Instances

Instances details
Eq Hat Source # 
Instance details

Defined in UsualCategories.Hat

Methods

(==) :: Hat -> Hat -> Bool

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

Show Hat Source # 
Instance details

Defined in UsualCategories.Hat

Methods

showsPrec :: Int -> Hat -> ShowS

show :: Hat -> String

showList :: [Hat] -> ShowS

PrettyPrintable Hat Source # 
Instance details

Defined in UsualCategories.Hat

Methods

pprint :: Hat -> String Source #

GeneratedFiniteCategory Hat HatAr HatOb Source # 
Instance details

Defined in UsualCategories.Hat

FiniteCategory Hat HatAr HatOb Source # 
Instance details

Defined in UsualCategories.Hat

Methods

ob :: Hat -> [HatOb] Source #

identity :: Hat -> HatOb -> HatAr Source #

ar :: Hat -> HatOb -> HatOb -> [HatAr] Source #

arrows :: Hat -> [HatAr] Source #