| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Reddit.Types.Reddit
Documentation
Constructors
| FailWith :: APIError RedditError -> RedditF m a | |
| Nest :: RedditT m b -> (Either (APIError RedditError) b -> a) -> RedditF m a | |
| NestResuming :: RedditT m b -> (Either (APIError RedditError, Maybe (RedditT m b)) b -> a) -> RedditF m a | |
| ReceiveRoute :: Receivable b => Route -> (b -> a) -> RedditF m a | |
| RunRoute :: FromJSON b => Route -> (b -> a) -> RedditF m a | |
| WithBaseURL :: Text -> RedditT m b -> (b -> a) -> RedditF m a |
receiveRoute :: (Receivable a, Monad m) => Route -> RedditT m a Source
newtype POSTWrapped a Source
Constructors
| POSTWrapped a |
Instances
| Functor POSTWrapped | |
| Eq a => Eq (POSTWrapped a) | |
| Read a => Read (POSTWrapped a) | |
| Show a => Show (POSTWrapped a) | |
| FromJSON (POSTWrapped [CommentReference]) | |
| FromJSON (POSTWrapped CaptchaID) | |
| FromJSON (POSTWrapped PostID) | |
| FromJSON (POSTWrapped Comment) | |
| FromJSON (POSTWrapped CommentID) | |
| FromJSON (POSTWrapped MessageID) |
type ShouldRateLimit = Bool Source
data RateLimitInfo Source
Instances
addAPIType :: Route -> Route Source