Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newtype CommentID = CommentID Text
- data CommentReference
- isActual :: CommentReference -> Bool
- isReference :: CommentReference -> Bool
- data Comment = Comment {
- commentID :: CommentID
- score :: Maybe Integer
- subredditID :: SubredditID
- subreddit :: SubredditName
- gilded :: Integer
- saved :: Bool
- author :: Username
- authorFlairCSSClass :: Maybe Text
- authorFlairText :: Maybe Text
- body :: Text
- bodyHTML :: Text
- replies :: Listing CommentID CommentReference
- created :: UTCTime
- edited :: Maybe UTCTime
- parentLink :: PostID
- inReplyTo :: Maybe CommentID
- treeSubComments :: CommentReference -> [CommentReference]
- isDeleted :: Comment -> Bool
- data PostComments = PostComments Post [CommentReference]
- type CommentListing = Listing CommentID Comment
- commentPrefix :: Text
Documentation
data CommentReference Source #
isActual :: CommentReference -> Bool Source #
isReference c
returns is true if c
is an actual comment, false otherwise
isReference :: CommentReference -> Bool Source #
isReference c
returns is true if c
is a reference, false otherwise
Comment | |
|
data PostComments Source #
commentPrefix :: Text Source #