Portability | non-portable |
---|---|
Stability | experimental |
Maintainer | sjoerd@w3future.com |
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.
- data Fls
- data Tru
- data Boolean a b where
- trueProductMonoid :: MonoidObject (ProductFunctor Boolean) Tru
- falseCoproductComonoid :: ComonoidObject (CoproductFunctor Boolean) Fls
- trueProductComonoid :: ComonoidObject (ProductFunctor Boolean) Tru
- falseCoproductMonoid :: MonoidObject (CoproductFunctor Boolean) Fls
- trueCoproductMonoid :: MonoidObject (CoproductFunctor Boolean) Tru
- falseProductComonoid :: ComonoidObject (ProductFunctor Boolean) Fls
- data NatAsFunctor f g = NatAsFunctor (Nat (Dom f) (Cod f) f g)
Documentation
Category Boolean |
|
HasTerminalObject Boolean | True is the terminal object in the Boolean category. |
HasInitialObject Boolean | False is the initial object in the Boolean category. |
HasBinaryProducts Boolean | |
HasBinaryCoproducts Boolean | |
CartesianClosed Boolean |