Safe Haskell | None |
---|---|
Language | Haskell98 |
- class Coeffect c where
- type Inv c (s :: k) (t :: k) :: Constraint
- type Unit c :: k
- type Plus c (s :: k) (t :: k) :: k
- class CoeffectZip c where
- type Meet c (s :: k) (t :: k) :: k
- type CzipInv c (s :: k) (t :: k) :: Constraint
- class Subcoeffect c s t where
Documentation
class Coeffect c where Source #
Specifies "parametric coeffect comonads" which are essentially comonads but
annotated by a type-level monoid formed by Plus
and Unit
type Inv c (s :: k) (t :: k) :: Constraint Source #
class CoeffectZip c where Source #
Zips two coeffecting computations together