github-0.14.0: Access to the Github API, v3.

Safe HaskellNone
LanguageHaskell2010

Github.Data

Contents

Description

This module re-exports the Github.Data.Definitions module, adding instances of FromJSON to it. If you wish to use the data without the instances, use the Github.Data.Definitions module instead.

Synopsis

Module re-exports

Tagged types

Name

data Name entity Source

Instances

Eq (Name entity) Source 
Data entity => Data (Name entity) Source 
Ord (Name entity) Source 
Show (Name entity) Source 
IsString (Name entity) Source 
Generic (Name entity) Source 
ToJSON (Name entity) Source 
FromJSON (Name entity) Source 
NFData (Name entity) Source 
Hashable (Name entity) Source 
IsPathPart (Name a) Source 
type Rep (Name entity) Source 

mkName :: proxy entity -> Text -> Name entity Source

Smart constructor for Name

untagName :: Name entity -> Text Source

Id

data Id entity Source

Numeric identifier.

Instances

Eq (Id entity) Source 
Data entity => Data (Id entity) Source 
Ord (Id entity) Source 
Show (Id entity) Source 
Generic (Id entity) Source 
ToJSON (Id entity) Source 
FromJSON (Id entity) Source 
NFData (Id entity) Source 
Hashable (Id entity) Source 
IsPathPart (Id a) Source 
type Rep (Id entity) Source 

mkId :: proxy entity -> Int -> Id entity Source

Smart constructor for Id.

untagId :: Id entity -> Int Source