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

Safe HaskellNone
LanguageHaskell2010

Github.Data.Id

Synopsis

Documentation

newtype Id entity Source

Numeric identifier.

Constructors

Id Int 

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