reddit-0.1.1.0: Library for interfacing with Reddit's API

Safe HaskellNone
LanguageHaskell2010

Reddit.Types

Documentation

data Listing t a Source

Constructors

Listing 

Fields

before :: Maybe t
 
after :: Maybe t
 
contents :: [a]
 

Instances

Functor (Listing t) 
(Eq t, Eq a) => Eq (Listing t a) 
(Read t, Read a) => Read (Listing t a) 
(Show t, Show a) => Show (Listing t a) 
(FromJSON t, FromJSON a) => FromJSON (Listing t a) 
Ord t => Monoid (Listing t a) 

data Options a Source

Constructors

Options 

Instances

Eq a => Eq (Options a) 
Read a => Read (Options a) 
Show a => Show (Options a) 
Default (Options a) 

data PaginationOption a Source

Constructors

Before a 
After a 

Instances

type Reddit a = RedditT IO a Source

data RedditT m a Source

data User Source

Instances