Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
newtype StateT s p a b Source #
StateT (p (a, s) (b, s)) |
Instances
Profunctor p => ProfunctorState' s (StateT s p) Source # | |
(Category p, Profunctor p) => ProfunctorState s (StateT s p) Source # | |
Category p => Category (StateT s p :: Type -> Type -> Type) Source # | |
Profunctor p => Profunctor (StateT s p) Source # | |
Defined in Data.Profunctor.State dimap :: (a -> b) -> (c -> d) -> StateT s p b c -> StateT s p a d # lmap :: (a -> b) -> StateT s p b c -> StateT s p a c # rmap :: (b -> c) -> StateT s p a b -> StateT s p a c # (#.) :: forall a b c q. Coercible c b => q b c -> StateT s p a b -> StateT s p a c # (.#) :: forall a b c q. Coercible b a => StateT s p b c -> q a b -> StateT s p a c # |