Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
Eq CaptchaID Source # | |
Ord CaptchaID Source # | |
Defined in Reddit.Types.Captcha | |
Read CaptchaID Source # | |
Show CaptchaID Source # | |
FromJSON CaptchaID Source # | |
FromJSON (POSTWrapped CaptchaID) Source # | |
Defined in Reddit.Types.Captcha parseJSON :: Value -> Parser (POSTWrapped CaptchaID) # parseJSONList :: Value -> Parser [POSTWrapped CaptchaID] # |
Instances
Instances
Eq CommentID Source # | |
Ord CommentID Source # | |
Defined in Reddit.Types.Comment | |
Read CommentID Source # | |
Show CommentID Source # | |
FromJSON CommentID Source # | |
ToQuery CommentID Source # | |
Thing CommentID Source # | |
FromJSON (POSTWrapped CommentID) Source # | |
Defined in Reddit.Types.Comment parseJSON :: Value -> Parser (POSTWrapped CommentID) # parseJSONList :: Value -> Parser [POSTWrapped CommentID] # |
Instances
Functor (Listing t) Source # | |
(Eq t, Eq a) => Eq (Listing t a) Source # | |
(Read t, Read a) => Read (Listing t a) Source # | |
(Show t, Show a) => Show (Listing t a) Source # | |
Ord t => Semigroup (Listing t a) Source # | |
Ord t => Monoid (Listing t a) Source # | |
(FromJSON t, FromJSON a) => FromJSON (Listing t a) Source # | |
data LoginDetails Source #
Instances
Show LoginDetails Source # | |
Defined in Reddit.Types.Reddit showsPrec :: Int -> LoginDetails -> ShowS # show :: LoginDetails -> String # showList :: [LoginDetails] -> ShowS # | |
Receivable LoginDetails Source # | |
Defined in Reddit.Types.Reddit receive :: ErrorReceivable e => Response ByteString -> Either (APIError e) LoginDetails # |
Instances
Eq MessageID Source # | |
Ord MessageID Source # | |
Defined in Reddit.Types.Message | |
Read MessageID Source # | |
Show MessageID Source # | |
FromJSON MessageID Source # | |
ToQuery MessageID Source # | |
Thing MessageID Source # | |
FromJSON (POSTWrapped MessageID) Source # | |
Defined in Reddit.Types.Message parseJSON :: Value -> Parser (POSTWrapped MessageID) # parseJSONList :: Value -> Parser [POSTWrapped MessageID] # |
data MessageKind Source #
Instances
Options | |
|
data PaginationOption a Source #
Instances
Eq a => Eq (PaginationOption a) Source # | |
Defined in Reddit.Types.Options (==) :: PaginationOption a -> PaginationOption a -> Bool # (/=) :: PaginationOption a -> PaginationOption a -> Bool # | |
Read a => Read (PaginationOption a) Source # | |
Defined in Reddit.Types.Options readsPrec :: Int -> ReadS (PaginationOption a) # readList :: ReadS [PaginationOption a] # readPrec :: ReadPrec (PaginationOption a) # readListPrec :: ReadPrec [PaginationOption a] # | |
Show a => Show (PaginationOption a) Source # | |
Defined in Reddit.Types.Options showsPrec :: Int -> PaginationOption a -> ShowS # show :: PaginationOption a -> String # showList :: [PaginationOption a] -> ShowS # |
data PostContent Source #
Instances
Eq PostContent Source # | |
Defined in Reddit.Types.Post (==) :: PostContent -> PostContent -> Bool # (/=) :: PostContent -> PostContent -> Bool # | |
Read PostContent Source # | |
Defined in Reddit.Types.Post readsPrec :: Int -> ReadS PostContent # readList :: ReadS [PostContent] # readPrec :: ReadPrec PostContent # readListPrec :: ReadPrec [PostContent] # | |
Show PostContent Source # | |
Defined in Reddit.Types.Post showsPrec :: Int -> PostContent -> ShowS # show :: PostContent -> String # showList :: [PostContent] -> ShowS # |
Instances
Eq PostID Source # | |
Ord PostID Source # | |
Read PostID Source # | |
Show PostID Source # | |
FromJSON PostID Source # | |
ToQuery PostID Source # | |
Thing PostID Source # | |
FromJSON (POSTWrapped PostID) Source # | |
Defined in Reddit.Types.Post parseJSON :: Value -> Parser (POSTWrapped PostID) # parseJSONList :: Value -> Parser [POSTWrapped PostID] # |
data RedditError Source #
Instances
Eq RedditError Source # | |
Defined in Reddit.Types.Error (==) :: RedditError -> RedditError -> Bool # (/=) :: RedditError -> RedditError -> Bool # | |
Show RedditError Source # | |
Defined in Reddit.Types.Error showsPrec :: Int -> RedditError -> ShowS # show :: RedditError -> String # showList :: [RedditError] -> ShowS # | |
FromJSON RedditError Source # | |
Defined in Reddit.Types.Error parseJSON :: Value -> Parser RedditError # parseJSONList :: Value -> Parser [RedditError] # | |
ErrorReceivable RedditError Source # | |
Defined in Reddit.Types.Error |
newtype SubredditName Source #
Instances
Instances
Thing Subreddit Source # | |
Thing SubredditID Source # | |
Defined in Reddit.Types.Subreddit fullName :: SubredditID -> Text Source # | |
Thing UserID Source # | |
Thing BanID Source # | |
Thing Post Source # | |
Thing PostID Source # | |
Thing Comment Source # | |
Thing CommentID Source # | |
Thing MessageKind Source # | |
Defined in Reddit.Types.Message fullName :: MessageKind -> Text Source # | |
Thing MessageID Source # | |
Thing Message Source # | |