1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 05:41:54 +03:00
Commit Graph

19868 Commits

Author SHA1 Message Date
Rob Rix
a559479779
Align. 2019-10-17 04:24:17 -04:00
Rob Rix
cfb9151d0f
🔥 redundant deriving strategies. 2019-10-17 04:23:49 -04:00
Rob Rix
b682d04653
🔥 a redundant UNPACK pragma. 2019-10-17 03:39:28 -04:00
Rob Rix
baf1868d48
🔥 the proxies. 2019-10-17 03:25:51 -04:00
Rob Rix
5611398aa7
Align. 2019-10-17 03:24:45 -04:00
Rob Rix
9b2ddd3cbe
Sort imports. 2019-10-17 03:24:09 -04:00
Rob Rix
698cc4392d
🔥 CustomHasDeclaration. 2019-10-17 03:23:13 -04:00
Rob Rix
1f58e9a82d
Rename HasDeclarationWithStrategy to HasDeclarationBy. 2019-10-17 03:18:14 -04:00
Rob Rix
30a26f7ff2
🔥 HasDeclaration'. 2019-10-17 03:17:04 -04:00
Rob Rix
65fb560524
🔥 the whole parameter. 2019-10-17 03:15:54 -04:00
Rob Rix
ec7b0755ae
🔥 redundant parens. 2019-10-17 03:13:01 -04:00
Rob Rix
89b8fb1397
Don’t export declaration. 2019-10-17 03:08:09 -04:00
Rob Rix
bed762db8e
Rename DeclarationKind to Kind. 2019-10-17 03:05:33 -04:00
Rob Rix
62617b3eea
Rename the DeclarationKind constructors. 2019-10-17 03:04:57 -04:00
Rob Rix
3ddb57fb4c
List the Data.Aeson imports explicitly. 2019-10-17 03:04:41 -04:00
Rob Rix
12df95e509
Qualify the import of Data.Error. 2019-10-17 02:56:10 -04:00
Rob Rix
d23e0a17ba
Reformat toChange/toError. 2019-10-17 02:50:13 -04:00
Rob Rix
eb2ee42c7e
Extract some helpers to the top level. 2019-10-17 02:49:30 -04:00
Rob Rix
ea20b4e980
Preserve the kind in TOCSummary as late as possible. 2019-10-17 02:46:57 -04:00
Rob Rix
1990de19c2
Fix an indentation bug. 2019-10-17 02:44:57 -04:00
Rob Rix
9c5a5be7f4
Move formatKind into Analysis.TOCSummary. 2019-10-17 02:44:18 -04:00
Patrick Thomson
defbeb5e7e Merge remote-tracking branch 'origin/master' into bump-lingo 2019-10-16 23:40:08 -04:00
Rob Rix
5e3fd0e6d1
Reuse toMap. 2019-10-16 23:13:41 -04:00
Rob Rix
39a643c149
🔥 summaryKey. 2019-10-16 23:13:06 -04:00
Rob Rix
433288f715
Don’t bind separate variables for path/lang. 2019-10-16 23:12:27 -04:00
Rob Rix
a91fd4fd5a
Align. 2019-10-16 23:10:22 -04:00
Rob Rix
9ffddbd203
Reuse toFile. 2019-10-16 23:10:00 -04:00
Rob Rix
491d912c3e
Map instead of folding. 2019-10-16 23:08:54 -04:00
Rob Rix
e06187627f
Correct how we construct Summaries. 2019-10-16 23:08:36 -04:00
Rob Rix
9fc7b807e1
Split TOCSummary up into separate datatypes for valid and error summaries. 2019-10-16 23:02:16 -04:00
Rob Rix
4417506758
Build lists in the fold. 2019-10-16 22:55:47 -04:00
Rob Rix
3ef5943117
Don’t rebuild the whole message every step. 2019-10-16 22:46:01 -04:00
Rob Rix
c35d91736f
Don’t convert the kind to text during deduping. 2019-10-16 22:38:22 -04:00
Rob Rix
fd888e8243
Derive an Ord instance for DeclarationKind. 2019-10-16 22:37:46 -04:00
Rob Rix
53b25956d2
Align. 2019-10-16 22:36:15 -04:00
Rob Rix
d531418ba2
Fix the docs for Change. 2019-10-16 22:35:50 -04:00
Rob Rix
7c6c677fda
Preserve the full Change in TOCSummary as late as possible. 2019-10-16 22:34:24 -04:00
Rob Rix
5b452bf471
Rename the entry field of Dedupe to change. 2019-10-16 22:29:17 -04:00
Rob Rix
2d3f74f2b5
Rename some variables. 2019-10-16 22:27:26 -04:00
Rob Rix
8c0c6ebcd4
Rename formatEntry to formatChange. 2019-10-16 22:26:55 -04:00
Rob Rix
27ae91c883
Rename ChangeType to Change. 2019-10-16 22:25:24 -04:00
Rob Rix
05e3944464
Rename the changeType field to change. 2019-10-16 22:25:02 -04:00
Rob Rix
dd4c6ed8a5
Rename Entry to ChangeType. 2019-10-16 22:23:04 -04:00
Rob Rix
a1c9738d69
Move Entry up. 2019-10-16 22:22:12 -04:00
Rob Rix
bad94967a9
Rename the ErrorSummary fields. 2019-10-16 22:21:36 -04:00
Rob Rix
bd7c33d1ae
Align. 2019-10-16 22:20:25 -04:00
Rob Rix
9dc8140af7
Reformat the ErrorSummary case. 2019-10-16 22:20:19 -04:00
Rob Rix
5d376b41a5
Rename the TOCSummary fields. 2019-10-16 22:19:58 -04:00
Rob Rix
3be5fa1953
🔥 the Generic instance for TOCSummary. 2019-10-16 22:18:27 -04:00
Rob Rix
58a208ddc8
Align the TOCSummary fields. 2019-10-16 22:16:49 -04:00
Rob Rix
fbf87d22c1
🔥 some redundant signatures. 2019-10-16 22:15:35 -04:00
Rob Rix
dc6782c6b4
🔥 LegacySummarizeDiff. 2019-10-16 22:13:59 -04:00
Rob Rix
7f959d1978
Define legacyDiffSummary using summarizeDiff. 2019-10-16 22:13:14 -04:00
Rob Rix
def8e1b6fb
Move the guts of summarizeDiff into TOCSummaries. 2019-10-16 22:11:36 -04:00
Rob Rix
cb77c1b810
🔥 renderToCDiff. 2019-10-16 18:55:32 -04:00
Rob Rix
27ad92b6b1
Inline the definition of renderToCDiff into legacySummarizeDiff. 2019-10-16 18:54:57 -04:00
Rob Rix
429cf1e7c3
Rename entryChange to formatEntry. 2019-10-16 18:47:02 -04:00
Rob Rix
0531d03f91
Rename toCategoryName to formatKind. 2019-10-16 18:46:47 -04:00
Rob Rix
1242180ccc
Don’t export toCategoryName. 2019-10-16 18:46:16 -04:00
Rob Rix
220c6dd133
Rename the Declaration fields. 2019-10-16 18:42:57 -04:00
Rob Rix
b99dc6ad23
Unpack DedupeKey. 2019-10-16 18:41:10 -04:00
Rob Rix
9dbb019833
🔥 findSimilarBy. 2019-10-16 18:39:32 -04:00
Rob Rix
a98588bf29
Don’t recompute the key. 2019-10-16 18:39:07 -04:00
Rob Rix
f8a24c4c4d
Reformat. 2019-10-16 18:36:09 -04:00
Rob Rix
83a84e0d22
Alignment. 2019-10-16 18:35:52 -04:00
Rob Rix
a0fbf8433e
🔥 redundant parens. 2019-10-16 18:35:36 -04:00
Rob Rix
fe1de046b0
findSimilar returns just the similar Declaration. 2019-10-16 18:35:00 -04:00
Rob Rix
8519e25b26
Call entryChange from recordSummary. 2019-10-16 18:30:56 -04:00
Rob Rix
94099aad8f
Don’t prefix the Dedupe fields. 2019-10-16 18:29:47 -04:00
Rob Rix
c94e53adf9
Don’t repack Dedupe when we don’t have to. 2019-10-16 18:28:11 -04:00
Rob Rix
ca4247d6af
🔥 the signature for go. 2019-10-16 18:27:18 -04:00
Rob Rix
b2bbe03e85
Map the entries into Dedupe. 2019-10-16 18:27:05 -04:00
Rob Rix
b3e49380c7
Use strict triples in the maps. 2019-10-16 18:26:10 -04:00
Rob Rix
978b406be2
Don’t match the index & entry. 2019-10-16 18:20:57 -04:00
Rob Rix
8b4c045e0d
Define go as a case expression. 2019-10-16 18:19:32 -04:00
Rob Rix
f366d4519d
Extract a helper to find a similar entry. 2019-10-16 18:16:59 -04:00
Rob Rix
444f0b306c
Index the elements, not the fold. 2019-10-16 18:15:37 -04:00
Rob Rix
ce0866dc1b
Uncurry go. 2019-10-16 18:14:27 -04:00
Rob Rix
2523d60b2c
Rename similarDecl to similar. 2019-10-16 18:13:14 -04:00
Rob Rix
fba58c685f
🔥 termTableOfContentsBy. 2019-10-16 18:12:40 -04:00
Rob Rix
e084c83b7f
Alignment. 2019-10-16 18:11:24 -04:00
Rob Rix
203ea9c954
Define recordSummary using guards. 2019-10-16 18:05:51 -04:00
Rob Rix
73713125cd
Extract formatIdentifier to the top level. 2019-10-16 18:04:08 -04:00
Rob Rix
be95b43b71
Reformat formatIdentifier. 2019-10-16 18:03:13 -04:00
Rob Rix
a0d9f57239
Pattern match in dedupeKey. 2019-10-16 18:00:52 -04:00
Rob Rix
ab0781c07a
Factor Declaration into a kind and the rest of the fields. 2019-10-16 18:00:05 -04:00
Rob Rix
10e82079b9
🔥 the Generic instance for Declaration. 2019-10-16 17:54:48 -04:00
Rob Rix
3a3145050c
Spacing. 2019-10-16 17:45:27 -04:00
Rob Rix
6f7683c9a7
🔥 redundant parens. 2019-10-16 17:45:17 -04:00
Rob Rix
483e6b2f2c
Curry go. 2019-10-16 17:42:13 -04:00
Rob Rix
50638e0205
Factor out the tuple. 2019-10-16 17:40:57 -04:00
Rob Rix
bfec2ffa45
Reformat go. 2019-10-16 17:40:20 -04:00
Rob Rix
582d516bf4
Inline tuples. 2019-10-16 17:39:21 -04:00
Rob Rix
a488ec2d9f
Compose. 2019-10-16 17:39:08 -04:00
Rob Rix
a2348e3463
Monomorphize. 2019-10-16 17:38:41 -04:00
Rob Rix
b54d109311
Move tuples into the where clause. 2019-10-16 17:35:46 -04:00
Rob Rix
70414495f5
🔥 exactMatch. 2019-10-16 17:35:17 -04:00
Rob Rix
d9505164fb
Match the decl explicitly. 2019-10-16 17:34:40 -04:00
Rob Rix
bf8f03ce37
🔥 a let. 2019-10-16 17:33:43 -04:00
Rob Rix
6ced7e6fae
dedupeKey takes the second field only. 2019-10-16 17:32:14 -04:00