| License | BSD-style (see the file LICENSE) |
|---|---|
| Maintainer | sjoerd@w3future.com |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.Category.Boolean
Description
2, or the Boolean category. It contains 2 objects, one for true and one for false. It contains 3 arrows, 2 identity arrows and one from false to true.
Documentation
Instances
| type BinaryCoproduct Boolean Tru Fls Source # | |
Defined in Data.Category.Boolean | |
| type BinaryCoproduct Boolean Fls Tru Source # | |
Defined in Data.Category.Boolean | |
| type BinaryCoproduct Boolean Fls Fls Source # | |
Defined in Data.Category.Boolean | |
| type BinaryProduct Boolean Tru Fls Source # | |
Defined in Data.Category.Boolean | |
| type BinaryProduct Boolean Fls Tru Source # | |
Defined in Data.Category.Boolean | |
| type BinaryProduct Boolean Fls Fls Source # | |
Defined in Data.Category.Boolean | |
| type Exponential Boolean Tru Fls Source # | |
Defined in Data.Category.Boolean | |
| type Exponential Boolean Fls Tru Source # | |
Defined in Data.Category.Boolean | |
| type Exponential Boolean Fls Fls Source # | |
Defined in Data.Category.Boolean | |
| type (Arrow k a b) :% Fls Source # | |
Defined in Data.Category.Boolean | |
Instances
| type BinaryCoproduct Boolean Tru Tru Source # | |
Defined in Data.Category.Boolean | |
| type BinaryCoproduct Boolean Tru Fls Source # | |
Defined in Data.Category.Boolean | |
| type BinaryCoproduct Boolean Fls Tru Source # | |
Defined in Data.Category.Boolean | |
| type BinaryProduct Boolean Tru Tru Source # | |
Defined in Data.Category.Boolean | |
| type BinaryProduct Boolean Tru Fls Source # | |
Defined in Data.Category.Boolean | |
| type BinaryProduct Boolean Fls Tru Source # | |
Defined in Data.Category.Boolean | |
| type Exponential Boolean Tru Tru Source # | |
Defined in Data.Category.Boolean | |
| type Exponential Boolean Tru Fls Source # | |
Defined in Data.Category.Boolean | |
| type Exponential Boolean Fls Tru Source # | |
Defined in Data.Category.Boolean | |
| type (Arrow k a b) :% Tru Source # | |
Defined in Data.Category.Boolean | |
data Boolean a b where Source #
Instances
Constructors
| Arrow (k a b) |
Instances
| Category k => Functor (Arrow k a b) Source # | Any functor from the Boolean category points to an arrow in its target category. |
| type Dom (Arrow k a b) Source # | |
Defined in Data.Category.Boolean | |
| type Cod (Arrow k a b) Source # | |
Defined in Data.Category.Boolean | |
| type (Arrow k a b) :% Fls Source # | |
Defined in Data.Category.Boolean | |
| type (Arrow k a b) :% Tru Source # | |
Defined in Data.Category.Boolean | |