categories-1.0.7: Categories

Copyright2008 Edward Kmett
LicenseBSD
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityexperimental
Portabilitynon-portable (class-associated types)
Safe HaskellTrustworthy
LanguageHaskell2010

Control.Category.Distributive

Contents

Description

 

Synopsis

Distributive Categories

factor :: (Cartesian k, CoCartesian k) => Sum k (Product k a b) (Product k a c) `k` Product k a (Sum k b c) Source

The canonical factoring morphism.

class (Cartesian k, CoCartesian k) => Distributive k where Source

A category in which factor is an isomorphism

Methods

distribute :: Product k a (Sum k b c) `k` Sum k (Product k a b) (Product k a c) Source

Instances