| Portability | non-portable (class-associated types) |
|---|---|
| Stability | experimental |
| Maintainer | Edward Kmett <ekmett@gmail.com> |
| Safe Haskell | None |
Control.Category.Cartesian.Closed
Description
Cartesian Closed Category
class Cartesian k => CCC k whereSource
A CCC has full-fledged monoidal finite products and exponentials
Methods
apply :: Product k (Exp k a b) a `k` bSource
Instances
| CCC (->) |
Co-(Cartesian Closed Category)
class CoCartesian k => CoCCC k whereSource
A Co-CCC has full-fledged comonoidal finite coproducts and coexponentials
counitCoCCC :: CoCCC k => Coexp k b (Sum k b a) `k` aSource