Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
statefully :: s -> State s a -> (s, a) Source #
Orphan instances
Monad u => Monad (TUT ((->) s :: Type -> Type) u ((,) s)) Source # | |
Functor u => Functor (TUT ((->) s :: Type -> Type) u ((,) s)) Source # | |
Monad u => Applicative (TUT ((->) s :: Type -> Type) u ((,) s)) Source # | |
pure :: a -> TUT ((->) s) u ((,) s) a # (<*>) :: TUT ((->) s) u ((,) s) (a -> b) -> TUT ((->) s) u ((,) s) a -> TUT ((->) s) u ((,) s) b # liftA2 :: (a -> b -> c) -> TUT ((->) s) u ((,) s) a -> TUT ((->) s) u ((,) s) b -> TUT ((->) s) u ((,) s) c # (*>) :: TUT ((->) s) u ((,) s) a -> TUT ((->) s) u ((,) s) b -> TUT ((->) s) u ((,) s) b # (<*) :: TUT ((->) s) u ((,) s) a -> TUT ((->) s) u ((,) s) b -> TUT ((->) s) u ((,) s) a # |