github-0.23: Access to the GitHub API, v3.
LicenseBSD-3-Clause
MaintainerOleg Grenrus <oleg.grenrus@iki.fi>
Safe HaskellNone
LanguageHaskell2010

GitHub.Data.URL

Description

 
Synopsis

Documentation

newtype URL Source #

Data representing URLs in responses.

N.B. syntactical validity is not verified.

Constructors

URL Text 

Instances

Instances details
Eq URL Source # 
Instance details

Defined in GitHub.Data.URL

Methods

(==) :: URL -> URL -> Bool

(/=) :: URL -> URL -> Bool

Data URL Source # 
Instance details

Defined in GitHub.Data.URL

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> URL -> c URL

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c URL

toConstr :: URL -> Constr

dataTypeOf :: URL -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c URL)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c URL)

gmapT :: (forall b. Data b => b -> b) -> URL -> URL

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> URL -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> URL -> r

gmapQ :: (forall d. Data d => d -> u) -> URL -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> URL -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> URL -> m URL

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> URL -> m URL

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> URL -> m URL

Ord URL Source # 
Instance details

Defined in GitHub.Data.URL

Methods

compare :: URL -> URL -> Ordering

(<) :: URL -> URL -> Bool

(<=) :: URL -> URL -> Bool

(>) :: URL -> URL -> Bool

(>=) :: URL -> URL -> Bool

max :: URL -> URL -> URL

min :: URL -> URL -> URL

Show URL Source # 
Instance details

Defined in GitHub.Data.URL

Methods

showsPrec :: Int -> URL -> ShowS

show :: URL -> String

showList :: [URL] -> ShowS

Generic URL Source # 
Instance details

Defined in GitHub.Data.URL

Associated Types

type Rep URL :: Type -> Type

Methods

from :: URL -> Rep URL x

to :: Rep URL x -> URL

NFData URL Source # 
Instance details

Defined in GitHub.Data.URL

Methods

rnf :: URL -> () #

FromJSON URL Source # 
Instance details

Defined in GitHub.Data.URL

Methods

parseJSON :: Value -> Parser URL #

parseJSONList :: Value -> Parser [URL] #

ToJSON URL Source # 
Instance details

Defined in GitHub.Data.URL

Methods

toJSON :: URL -> Value #

toEncoding :: URL -> Encoding #

toJSONList :: [URL] -> Value #

toEncodingList :: [URL] -> Encoding #

Binary URL Source # 
Instance details

Defined in GitHub.Data.URL

Methods

put :: URL -> Put

get :: Get URL

putList :: [URL] -> Put

type Rep URL Source # 
Instance details

Defined in GitHub.Data.URL

type Rep URL = D1 ('MetaData "URL" "GitHub.Data.URL" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" 'True) (C1 ('MetaCons "URL" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))