reddit-0.3.0.0: Library for interfacing with Reddit's API
Safe HaskellNone
LanguageHaskell2010

Reddit.Types.Comment

Synopsis

Documentation

newtype CommentID Source #

Constructors

CommentID Text 

Instances

Instances details
Eq CommentID Source # 
Instance details

Defined in Reddit.Types.Comment

Ord CommentID Source # 
Instance details

Defined in Reddit.Types.Comment

Read CommentID Source # 
Instance details

Defined in Reddit.Types.Comment

Show CommentID Source # 
Instance details

Defined in Reddit.Types.Comment

FromJSON CommentID Source # 
Instance details

Defined in Reddit.Types.Comment

ToQuery CommentID Source # 
Instance details

Defined in Reddit.Types.Comment

Methods

toQuery :: Text -> CommentID -> [(Text, Text)] #

Thing CommentID Source # 
Instance details

Defined in Reddit.Types.Comment

FromJSON (POSTWrapped CommentID) Source # 
Instance details

Defined in Reddit.Types.Comment

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