Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Data.Reader.Reader3
Documentation
newtype Reader3T (f :: Type -> Type) b a Source #
Constructors
Reader3T (a -> f b) |
Instances
Contravariant (Reader3T f b) Source # | |
(Monoid b, Applicative f) => Decidable (Reader3T f b) Source # | |
(Monoid b, Applicative f) => Divisible (Reader3T f b) Source # | |
(Monoid b, Apply f, Applicative f) => Monoid (Reader3T f b a) Source # | |
(Semigroup b, Apply f) => Semigroup (Reader3T f b a) Source # | |
Wrapped (Reader3T f b a) Source # | |
Reader3T f b a ~ x => Rewrapped (Reader3T f' b' a') x Source # | |
Defined in Data.Reader.Reader3 | |
type Unwrapped (Reader3T f b a) Source # | |
Defined in Data.Reader.Reader3 |
reader3 :: forall a b a' b' p f. (Profunctor p, Functor f) => p (a -> b) (f (a' -> b')) -> p (Reader3 a b) (f (Reader3 a' b')) Source #
reader3Lens :: forall f1 s t a b f' s' t' a' b' p f2. (Profunctor p, Functor f2) => p (Reader3Lens f1 s t a b) (f2 (Reader3Lens f' s' t' a' b')) -> p (LensLike f1 s t a b) (f2 (LensLike f' s' t' a' b')) Source #
reader3' :: forall a (f1 :: Type -> Type) b a' (f' :: Type -> Type) b' p f2. (Profunctor p, Functor f2) => p (Reader3T f1 b a) (f2 (Reader3T f' b' a')) -> p (ReaderT a f1 b) (f2 (ReaderT a' f' b')) Source #
star3 :: forall (f1 :: Type -> Type) a b (f' :: Type -> Type) a' b' p f2. (Profunctor p, Functor f2) => p (Reader3T f1 b a) (f2 (Reader3T f' b' a')) -> p (Star f1 a b) (f2 (Star f' a' b')) Source #
kleisli3 :: forall (f1 :: Type -> Type) a b (f' :: Type -> Type) a' b' p f2. (Profunctor p, Functor f2) => p (Reader3T f1 b a) (f2 (Reader3T f' b' a')) -> p (Kleisli f1 a b) (f2 (Kleisli f' a' b')) Source #
liftReader3 :: forall f1 b a f' b' a' p f2. (Profunctor p, Functor f2) => p (Reader3 a (f1 b)) (f2 (Reader3 a' (f' b'))) -> p (Reader3T f1 b a) (f2 (Reader3T f' b' a')) Source #
pureReader3 :: forall (f :: Type -> Type) a b. Applicative f => Reader3 a b -> Reader3T f b a Source #
homReader3 :: (forall x. f x -> g x) -> Reader3T f b a -> Reader3T g b a Source #