| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Web.Slack.State
Documentation
newtype Slack s a
Constructors
| Slack | |
Fields
| |
Instances
| Monad (Slack s) | |
| Functor (Slack s) | |
| Applicative (Slack s) | |
| MonadIO (Slack s) | |
| MonadState (SlackState s) (Slack s) |
data Metainfo
Constructors
| Meta | |
Fields
| |
data SlackState s
Constructors
| SlackState | |
Fields
| |
Instances
| Show s => Show (SlackState s) | |
| MonadState (SlackState s) (Slack s) |
userState :: forall s s. Lens (SlackState s) (SlackState s) s s
session :: forall s. Lens' (SlackState s) SlackSession
meta :: forall s. Lens' (SlackState s) Metainfo
config :: forall s. Lens' (SlackState s) SlackConfig
msgCounter :: Lens' Metainfo Int
metaConnection :: Lens' Metainfo Connection
connection :: Lens' (SlackState s) Connection