Copyright | 2008-2010 Edward Kmett |
---|---|
License | BSD |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Control.Category.Discrete
Description
Documentation
data Discrete a b where
Category of discrete objects. The only arrows are identity arrows.
liftDiscrete :: Discrete a b -> Discrete (f a) (f b)
Discrete a b acts as a proof that a = b, lift that proof into something of kind * -> *