1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 15:35:14 +03:00
Commit Graph

30669 Commits

Author SHA1 Message Date
Rob Rix
7b37f3789f
Rename Data.Patch to Data.Edit. 2019-10-17 22:43:03 -04:00
Rob Rix
6b7ef7c725
🔥 before/after. 2019-10-17 22:39:34 -04:00
Rob Rix
b6caf8d98f
Move the ToJSONFields instance for Patch into Data.JSON.Fields. 2019-10-17 22:36:50 -04:00
Rob Rix
e6ffee0829
Import everything explicitly. 2019-10-17 22:35:43 -04:00
Rob Rix
76d35900df
Rename patch to edit. 2019-10-17 22:34:19 -04:00
Rob Rix
eb549cff26
Align. 2019-10-17 22:31:16 -04:00
Rob Rix
fc394d69e7
Rename some variables. 2019-10-17 22:28:35 -04:00
Rob Rix
c59e205447
Rename some type parameters. 2019-10-17 22:28:15 -04:00
Rob Rix
c452385869
Use LambdaCase to define patch. 2019-10-17 22:26:17 -04:00
Rob Rix
8f91dd09bb
Use defaults in terms of bitraverse. 2019-10-17 22:25:15 -04:00
Rob Rix
3cf78abe5f
LambdaCase. 2019-10-17 22:24:46 -04:00
Rob Rix
20c92cb22a
🔥 2019-10-17 22:21:26 -04:00
Rob Rix
aeff33b31a
🔥 a redundant OPTIONS_GHC pragma. 2019-10-17 22:20:41 -04:00
Rob Rix
fb72904e1b
Correct a doc comment. 2019-10-17 22:19:48 -04:00
Rob Rix
64c4fed882
Rename replacing to comparing. 2019-10-17 22:18:48 -04:00
Rob Rix
dd7f65828a
Rename replaceF to compareF. 2019-10-17 22:17:01 -04:00
Rob Rix
9557070bfb
Rename Replace to Compare. 2019-10-17 22:15:58 -04:00
Rob Rix
c07532e3f3
Merge branch 'toc-this-way' into join-these-blobs-with-this-one-weird-trick 2019-10-17 22:04:35 -04:00
Rob Rix
8a3c49f3df
Reformat dedupe. 2019-10-17 22:03:02 -04:00
Rob Rix
fbfcdd8985
LambdaCase. 2019-10-17 21:59:35 -04:00
Rob Rix
7ab0695766
More queswish.
Co-Authored-By: Patrick Thomson <patrickt@github.com>
2019-10-17 19:38:34 -04:00
Rob Rix
3d1732a061
Use the queswish operator.
Co-Authored-By: Patrick Thomson <patrickt@github.com>
2019-10-17 19:37:58 -04:00
Rob Rix
c31972242a
Fix up the tests. 2019-10-17 19:31:46 -04:00
Rob Rix
ea2cd5528a
Define a Bifunctor instance for Edit. 2019-10-17 13:55:59 -04:00
Rob Rix
a0e52c1b9d
Fix some imports. 2019-10-17 13:50:22 -04:00
Rob Rix
30872c822f
Export SummarizeDiff & the parsers. 2019-10-17 13:50:12 -04:00
Rob Rix
93be1bc1a4
Run with the default language modes. 2019-10-17 13:47:52 -04:00
Rob Rix
0228a5765f
Sort imports. 2019-10-17 13:45:36 -04:00
Rob Rix
ae08b29fb2
Add a missing import. 2019-10-17 13:45:28 -04:00
Rob Rix
9a7a6061af
s/EditScript/[Edit]. 2019-10-17 13:44:51 -04:00
Rob Rix
f8078518a0
There are four fields. 2019-10-17 13:44:25 -04:00
Rob Rix
1886c9d4e5
Parse language mode arguments for diffing. 2019-10-17 12:44:24 -04:00
Rob Rix
3d01323129
Extract the parser for the language modes. 2019-10-17 12:43:58 -04:00
Rob Rix
dca68d3714
Use precise parsers for ToC where available. 2019-10-17 12:43:50 -04:00
Rob Rix
c9eee51a15
Run a reader effect for the language modes around diffing. 2019-10-17 12:43:23 -04:00
Rob Rix
93c459b205
Derive SummarizeDiff instances for the precise AST types. 2019-10-17 12:35:51 -04:00
Rob Rix
45363a7950
Define a newtype for computing summaries from tags. 2019-10-17 12:33:51 -04:00
Rob Rix
b22d86b55b
Tags hold a Loc. 2019-10-17 12:28:32 -04:00
Rob Rix
f7a0673dfe
Carry the entire Loc along in Taggable. 2019-10-17 12:16:28 -04:00
Rob Rix
267115ce31
🔥 the text field from Declaration. 2019-10-17 11:36:04 -04:00
Rob Rix
ccc95d87b9
Reformat the end of Declaration. 2019-10-17 11:32:52 -04:00
Rob Rix
8b9a65c4f8
Export summarizeChange. 2019-10-17 11:29:22 -04:00
Rob Rix
1dbd5c6e8f
Rename recordSummary to summarizeChange. 2019-10-17 11:12:40 -04:00
Rob Rix
28d0a94996
Correct the docs for recordSummary. 2019-10-17 11:12:01 -04:00
Rob Rix
c3d7c426c6
Redefine Edit as a datatype. 2019-10-17 11:09:39 -04:00
Rob Rix
dff89a12fb
Define an Edit synonym instead of EditScript. 2019-10-17 11:02:58 -04:00
Rob Rix
925ff6fc41
Derive the ToTags instances for the precise term types. 2019-10-17 06:36:33 -04:00
Rob Rix
2e0f0c4eca
Define a newtype for Precise ToTags deriving. 2019-10-17 06:34:56 -04:00
Rob Rix
a05370f7e1
Move SummarizeDiff into TOCSummaries. 2019-10-17 06:32:47 -04:00
Rob Rix
ef0ec740c9
Incorporate decorateTerm into summarizeTerm. 2019-10-17 06:23:10 -04:00