constrained-categories-0.4.2.0: Constrained clones of the category-theory type classes, using ConstraintKinds.
Copyright(c) Justus Sagemüller 2021
LicenseGPL v3
Maintainer(@) jsag $ hvl.no
Stabilityexperimental
Portabilityportable
Safe HaskellTrustworthy
LanguageHaskell2010

Data.CategoryObject.Product

Description

 

Documentation

data ProductCatObj a b Source #

Constructors

ProductCatObj a b 

Instances

Instances details
(Monoid a, Monoid b) => Monoid (ProductCatObj a b) Source # 
Instance details

Defined in Data.CategoryObject.Product

(Semigroup a, Semigroup b) => Semigroup (ProductCatObj a b) Source # 
Instance details

Defined in Data.CategoryObject.Product

IsProduct (ProductCatObj a b) Source # 
Instance details

Defined in Data.CategoryObject.Product

type family LFactor t where ... Source #

Equations

LFactor (ProductCatObj l r) = l 
LFactor (a, b) = (LFactor a, LFactor b) 

type family RFactor t where ... Source #

Equations

RFactor (ProductCatObj l r) = r 
RFactor (a, b) = (RFactor a, RFactor b) 

class IsProduct t where Source #

Instances

Instances details
IsProduct (ProductCatObj a b) Source # 
Instance details

Defined in Data.CategoryObject.Product

(IsProduct a, IsProduct b) => IsProduct (a, b) Source # 
Instance details

Defined in Data.CategoryObject.Product

Methods

lfactorProj :: (a, b) -> LFactor (a, b) Source #

rfactorProj :: (a, b) -> RFactor (a, b) Source #