| category-extras-0.53.6: Various modules and constructs inspired by category theory | Contents | Index |
|
Control.Category.Distributive | Portability | non-portable (class-associated types) | Stability | experimental | Maintainer | Edward Kmett <ekmett@gmail.com> |
|
|
|
|
|
Description |
|
|
Synopsis |
|
|
|
|
Distributive Categories
|
|
factor :: (PreCartesian hom prod, PreCoCartesian hom sum) => hom (sum (prod a b) (prod a c)) (prod a (sum b c)) |
the canonical factoring morphism
|
|
class (PreCartesian hom prod, PreCoCartesian hom sum) => Distributive hom prod sum where |
A category in which factor is an isomorphism
| | Methods | distribute :: hom (prod a (sum b c)) (sum (prod a b) (prod a c)) |
|
|
|
Produced by Haddock version 2.1.0 |