You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -150,27 +150,27 @@ data GistComment = GistComment {
150
150
,gistCommentBody::String
151
151
,gistCommentUpdatedAt::GithubDate
152
152
,gistCommentId::Int
153
-
}deriving (Show, Data, Typeable, Eq, Ord)
153
+
}deriving (Show, Data, Typeable, Eq, Ord, Read)
154
154
155
155
dataBlob=Blob{
156
156
blobUrl::String
157
157
,blobEncoding::String
158
158
,blobContent::String
159
159
,blobSha::String
160
160
,blobSize::Int
161
-
}deriving (Show, Data, Typeable, Eq, Ord)
161
+
}deriving (Show, Data, Typeable, Eq, Ord, Read)
162
162
163
163
dataGitReference=GitReference{
164
164
gitReferenceObject::GitObject
165
165
,gitReferenceUrl::String
166
166
,gitReferenceRef::String
167
-
}deriving (Show, Data, Typeable, Eq, Ord)
167
+
}deriving (Show, Data, Typeable, Eq, Ord, Read)
168
168
169
169
dataGitObject=GitObject{
170
170
gitObjectType::String
171
171
,gitObjectSha::String
172
172
,gitObjectUrl::String
173
-
}deriving (Show, Data, Typeable, Eq, Ord)
173
+
}deriving (Show, Data, Typeable, Eq, Ord, Read)
174
174
175
175
dataIssue=Issue{
176
176
issueClosedAt::MaybeGithubDate
@@ -190,7 +190,7 @@ data Issue = Issue {
190
190
,issueId::Int
191
191
,issueComments::Int
192
192
,issueMilestone::MaybeMilestone
193
-
}deriving (Show, Data, Typeable, Eq, Ord)
193
+
}deriving (Show, Data, Typeable, Eq, Ord, Read)
194
194
195
195
dataMilestone=Milestone{
196
196
milestoneCreator::GithubUser
@@ -203,19 +203,19 @@ data Milestone = Milestone {
203
203
,milestoneUrl::String
204
204
,milestoneCreatedAt::GithubDate
205
205
,milestoneState::String
206
-
}deriving (Show, Data, Typeable, Eq, Ord)
206
+
}deriving (Show, Data, Typeable, Eq, Ord, Read)
207
207
208
208
dataIssueLabel=IssueLabel{
209
209
labelColor::String
210
210
,labelUrl::String
211
211
,labelName::String
212
-
}deriving (Show, Data, Typeable, Eq, Ord)
212
+
}deriving (Show, Data, Typeable, Eq, Ord, Read)
213
213
214
214
dataPullRequestReference=PullRequestReference{
215
215
pullRequestReferenceHtmlUrl::MaybeString
216
216
,pullRequestReferencePatchUrl::MaybeString
217
217
,pullRequestReferenceDiffUrl::MaybeString
218
-
}deriving (Show, Data, Typeable, Eq, Ord)
218
+
}deriving (Show, Data, Typeable, Eq, Ord, Read)
219
219
220
220
dataIssueComment=IssueComment{
221
221
issueCommentUpdatedAt::GithubDate
@@ -224,7 +224,7 @@ data IssueComment = IssueComment {
224
224
,issueCommentCreatedAt::GithubDate
225
225
,issueCommentBody::String
226
226
,issueCommentId::Int
227
-
}deriving (Show, Data, Typeable, Eq, Ord)
227
+
}deriving (Show, Data, Typeable, Eq, Ord, Read)
228
228
229
229
--| Data describing an @Event@.
230
230
dataEventType=
@@ -236,7 +236,7 @@ data EventType =
236
236
| Assigned--^ The issue was assigned to the actor.
237
237
| Closed--^ The issue was closed by the actor. When the commit_id is present, it identifies the commit that closed the issue using “closes / fixes #NN” syntax.
238
238
| Reopened--^ The issue was reopened by the actor.
239
-
deriving (Show, Data, Typeable, Eq, Ord)
239
+
deriving (Show, Data, Typeable, Eq, Ord, Read)
240
240
241
241
dataEvent=Event{
242
242
eventActor::GithubUser
@@ -246,14 +246,14 @@ data Event = Event {
246
246
,eventCreatedAt::GithubDate
247
247
,eventId::Int
248
248
,eventIssue::MaybeIssue
249
-
}deriving (Show, Data, Typeable, Eq, Ord)
249
+
}deriving (Show, Data, Typeable, Eq, Ord, Read)
250
250
251
251
dataSimpleOrganization=SimpleOrganization{
252
252
simpleOrganizationUrl::String
253
253
,simpleOrganizationAvatarUrl::String
254
254
,simpleOrganizationId::Int
255
255
,simpleOrganizationLogin::String
256
-
}deriving (Show, Data, Typeable, Eq, Ord)
256
+
}deriving (Show, Data, Typeable, Eq, Ord, Read)
257
257
258
258
dataOrganization=Organization{
259
259
organizationType::String
@@ -272,7 +272,7 @@ data Organization = Organization {
272
272
,organizationCreatedAt::GithubDate
273
273
,organizationName::MaybeString
274
274
,organizationId::Int
275
-
}deriving (Show, Data, Typeable, Eq, Ord)
275
+
}deriving (Show, Data, Typeable, Eq, Ord, Read)
276
276
277
277
dataPullRequest=PullRequest{
278
278
pullRequestClosedAt::MaybeGithubDate
@@ -291,7 +291,7 @@ data PullRequest = PullRequest {
291
291
,pullRequestMergedAt::MaybeGithubDate
292
292
,pullRequestTitle::String
293
293
,pullRequestId::Int
294
-
}deriving (Show, Data, Typeable, Eq, Ord)
294
+
}deriving (Show, Data, Typeable, Eq, Ord, Read)
295
295
296
296
dataDetailedPullRequest=DetailedPullRequest{
297
297
-- this is a duplication of a PullRequest
@@ -323,17 +323,17 @@ data DetailedPullRequest = DetailedPullRequest {
323
323
,detailedPullRequestCommits::Int
324
324
,detailedPullRequestMerged::Bool
325
325
,detailedPullRequestMergeable::Bool
326
-
}deriving (Show, Data, Typeable, Eq, Ord)
326
+
}deriving (Show, Data, Typeable, Eq, Ord, Read)
327
327
328
328
dataPullRequestLinks=PullRequestLinks{
329
329
pullRequestLinksReviewComments::String
330
330
,pullRequestLinksComments::String
331
331
,pullRequestLinksHtml::String
332
332
,pullRequestLinksSelf::String
333
-
}deriving (Show, Data, Typeable, Eq, Ord)
333
+
}deriving (Show, Data, Typeable, Eq, Ord, Read)
334
334
335
335
dataPullRequestCommit=PullRequestCommit{
336
-
}deriving (Show, Data, Typeable, Eq, Ord)
336
+
}deriving (Show, Data, Typeable, Eq, Ord, Read)
337
337
338
338
dataRepo=Repo{
339
339
repoSshUrl::String
@@ -361,41 +361,41 @@ data Repo = Repo {
361
361
,repoHasWiki::MaybeBool
362
362
,repoHasIssues::MaybeBool
363
363
,repoHasDownloads::MaybeBool
364
-
}deriving (Show, Data, Typeable, Eq, Ord)
364
+
}deriving (Show, Data, Typeable, Eq, Ord, Read)
365
365
366
366
dataContributor
367
367
--| An existing Github user, with their number of contributions, avatar
368
368
-- URL, login, URL, ID, and Gravatar ID.
369
369
=KnownContributorIntStringStringStringIntString
370
370
--| An unknown Github user with their number of contributions and recorded name.
0 commit comments