1
1
mirror of https://github.com/github/semantic.git synced 2024-12-19 04:41:47 +03:00
Commit Graph

30680 Commits

Author SHA1 Message Date
Rob Rix
86389e8e87
Re-export Edit. 2019-10-18 10:33:47 -04:00
Rob Rix
9ef511b6f1
Write diffFilePaths using do notation. 2019-10-18 10:29:43 -04:00
Rob Rix
b8b9105a0a
Define readFilePathPair as a composition. 2019-10-18 10:27:42 -04:00
Rob Rix
29ceb4c8d6
Don’t export Both in the Prologue. 2019-10-18 10:26:20 -04:00
Rob Rix
88c12a963b
🔥 toThese. 2019-10-17 22:54:16 -04:00
Rob Rix
6f0c2a6450
Diff directly in Edit. 2019-10-17 22:53:45 -04:00
Rob Rix
15fdc198bb
Don’t convert to These. 2019-10-17 22:53:35 -04:00
Rob Rix
55ee8b4f7a
Define a helper to diff an Edit of terms. 2019-10-17 22:53:21 -04:00
Rob Rix
b26c941b9c
🔥 SES.Edit. 2019-10-17 22:50:14 -04:00
Rob Rix
209f8871a5
Rename Patch to Edit. 2019-10-17 22:48:19 -04:00
Rob Rix
e4af857c5b
Rename Copy to Compare. 2019-10-17 22:44:57 -04:00
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