| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Control.Distributed.Dataset.OpenDatasets.GHArchive
Contents
Synopsis
- ghArchive :: (Day, Day) -> Dataset GHEvent
- data GHEvent = GHEvent {}
- data GHEventType
- newtype GHPushEventPayload = GHPushEventPayload {
- _ghpepCommits :: [GHCommit]
- data GHCommit = GHCommit {}
- data GHCommitAuthor = GHCommitAuthor {
- _ghcaEmail :: Text
- _ghcaName :: Text
- data GHActor = GHActor {}
- data GHRepo = GHRepo {}
- gheType :: Lens' GHEvent GHEventType
- gheRepo :: Lens' GHEvent GHRepo
- gheActor :: Lens' GHEvent GHActor
- _GHOtherEvent :: Prism' GHEventType Text
- _GHPushEvent :: Prism' GHEventType GHPushEventPayload
- ghpepCommits :: Iso' GHPushEventPayload [GHCommit]
- ghcSha :: Lens' GHCommit Text
- ghcMessage :: Lens' GHCommit Text
- ghcDistinct :: Lens' GHCommit Bool
- ghcAuthor :: Lens' GHCommit GHCommitAuthor
- ghcaName :: Lens' GHCommitAuthor Text
- ghcaEmail :: Lens' GHCommitAuthor Text
- ghaUrl :: Lens' GHActor Text
- ghaLogin :: Lens' GHActor (Maybe Text)
- ghaId :: Lens' GHActor (Maybe Integer)
- ghrName :: Lens' GHRepo Text
- ghrId :: Lens' GHRepo Integer
- fromGregorian :: Integer -> Int -> Int -> Day
Documentation
Instances
| Eq GHEvent Source # | |
| Show GHEvent Source # | |
| Generic GHEvent Source # | |
| FromJSON GHEvent Source # | |
| StaticSerialise GHEvent Source # | |
| Serialise GHEvent Source # | |
| type Rep GHEvent Source # | |
Defined in Control.Distributed.Dataset.OpenDatasets.GHArchive.Types type Rep GHEvent = D1 ('MetaData "GHEvent" "Control.Distributed.Dataset.OpenDatasets.GHArchive.Types" "distributed-dataset-opendatasets-0.0.1.0-24JX03nzLEoFKRXH9oJNCO" 'False) (C1 ('MetaCons "GHEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "_gheActor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GHActor) :*: (S1 ('MetaSel ('Just "_gheRepo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GHRepo) :*: S1 ('MetaSel ('Just "_gheType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GHEventType)))) | |
data GHEventType Source #
Constructors
| GHPushEvent GHPushEventPayload | |
| GHOtherEvent Text |
Instances
newtype GHPushEventPayload Source #
Constructors
| GHPushEventPayload | |
Fields
| |
Instances
Constructors
| GHCommit | |
Fields
| |
Instances
| Eq GHCommit Source # | |
| Show GHCommit Source # | |
| Generic GHCommit Source # | |
| FromJSON GHCommit Source # | |
| StaticSerialise GHCommit Source # | |
| Serialise GHCommit Source # | |
| type Rep GHCommit Source # | |
Defined in Control.Distributed.Dataset.OpenDatasets.GHArchive.Types type Rep GHCommit = D1 ('MetaData "GHCommit" "Control.Distributed.Dataset.OpenDatasets.GHArchive.Types" "distributed-dataset-opendatasets-0.0.1.0-24JX03nzLEoFKRXH9oJNCO" 'False) (C1 ('MetaCons "GHCommit" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_ghcAuthor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GHCommitAuthor) :*: S1 ('MetaSel ('Just "_ghcMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "_ghcSha") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "_ghcDistinct") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) | |
data GHCommitAuthor Source #
Constructors
| GHCommitAuthor | |
Fields
| |
Instances
Instances
| Eq GHActor Source # | |
| Show GHActor Source # | |
| Generic GHActor Source # | |
| FromJSON GHActor Source # | |
| StaticSerialise GHActor Source # | |
| Serialise GHActor Source # | |
| type Rep GHActor Source # | |
Defined in Control.Distributed.Dataset.OpenDatasets.GHArchive.Types type Rep GHActor = D1 ('MetaData "GHActor" "Control.Distributed.Dataset.OpenDatasets.GHArchive.Types" "distributed-dataset-opendatasets-0.0.1.0-24JX03nzLEoFKRXH9oJNCO" 'False) (C1 ('MetaCons "GHActor" 'PrefixI 'True) (S1 ('MetaSel ('Just "_ghaId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "_ghaLogin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_ghaUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) | |
Instances
| Eq GHRepo Source # | |
| Show GHRepo Source # | |
| Generic GHRepo Source # | |
| FromJSON GHRepo Source # | |
| StaticSerialise GHRepo Source # | |
| Serialise GHRepo Source # | |
| type Rep GHRepo Source # | |
Defined in Control.Distributed.Dataset.OpenDatasets.GHArchive.Types type Rep GHRepo = D1 ('MetaData "GHRepo" "Control.Distributed.Dataset.OpenDatasets.GHArchive.Types" "distributed-dataset-opendatasets-0.0.1.0-24JX03nzLEoFKRXH9oJNCO" 'False) (C1 ('MetaCons "GHRepo" 'PrefixI 'True) (S1 ('MetaSel ('Just "_ghrId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "_ghrName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |