Portability | portable |
---|---|
Stability | provisional |
Maintainer | Edward Kmett <ekmett@gmail.com> |
$definition
- class Functor w => Comonad w where
- (=>>) :: Comonad w => w a -> (w a -> b) -> w b
- (<<=) :: Comonad w => (w a -> b) -> w a -> w b
- liftW :: Comonad w => (a -> b) -> w a -> w b
- wfix :: Comonad w => w (w a -> a) -> a
- newtype Cokleisli w a b = Cokleisli {
- runCokleisli :: w a -> b
- (=>=) :: Comonad w => (w a -> b) -> (w b -> c) -> w a -> c
- (=<=) :: Comonad w => (w b -> c) -> (w a -> b) -> w a -> c
Comonads
class Functor w => Comonad w whereSource
$definition
Cokleisli Arrows
newtype Cokleisli w a b Source
Cokleisli | |
|