1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 17:05:33 +03:00
Commit Graph

15710 Commits

Author SHA1 Message Date
Rob Rix
d133105c8f Move the smart constructors up. 2017-09-13 15:22:57 -04:00
Timothy Clem
de9f429762 Add utility for generating test payloads from PRs 2017-09-13 12:09:41 -07:00
Rob Rix
ce89495485 Reformat the algorithMForContextUnions type signature. 2017-09-13 14:57:27 -04:00
Josh Vera
32d34f8dc9 Merge pull request #1335 from github/back-to-stack
Move back to stack for tooling
2017-09-13 14:44:50 -04:00
Rob Rix
6552f0b377 Define a function constructing a complete algorithm for unions including Context. 2017-09-13 14:40:02 -04:00
Rob Rix
30f8613287 Construct patches through the context algorithms. 2017-09-13 14:39:48 -04:00
Rob Rix
cfc9dcd374 Extract the nonrecursive deletion/insertion constructors. 2017-09-13 14:34:49 -04:00
Rob Rix
8f365dc7a3 🔥 the redundant Functor constraint on hoistTermF. 2017-09-13 14:33:16 -04:00
Rob Rix
f20c3eacc4 Define a function constructing an algorithm inserting context. 2017-09-13 14:16:19 -04:00
Rob Rix
608581d6f4 Rename algorithmForContext to algorithmDeletingContext. 2017-09-13 14:12:41 -04:00
Rob Rix
555df71dfc Reformat algorithmForContext’s type signature. 2017-09-13 14:08:20 -04:00
Rob Rix
71a994fedd Define a function computing an algorithm dropping Context. 2017-09-13 14:07:54 -04:00
Rob Rix
2776e56263 Split out a function constructing algorithms for comparable terms. 2017-09-13 14:06:26 -04:00
Rob Rix
b261cde1a4 Extract the generic algorithmFor implementation. 2017-09-13 11:48:51 -04:00
joshvera
e9690076e2 Remove happy 2017-09-13 11:22:20 -04:00
Rob Rix
a0eda2396a Correct the tests. 2017-09-13 11:19:06 -04:00
Rob Rix
210e58c95a Derive the Foldable, Functor, & Traversable instances for Diff. 2017-09-13 11:14:12 -04:00
joshvera
7b3ea0c278 Add happy as a build tool for pretty-show 2017-09-13 11:12:20 -04:00
Rob Rix
68d484606f Allow variables to occur inside patches. 2017-09-13 11:09:35 -04:00
joshvera
578f290ec8 Merge remote-tracking branch 'origin/master' into back-to-stack 2017-09-13 10:58:44 -04:00
Rob Rix
80ef0cef9b Define a (dubious) ToJSONFields1 instance for Identity. 2017-09-13 10:29:18 -04:00
Rob Rix
8bef7369b5 Simplify the ToJSONFields1 instance for Sum. 2017-09-13 10:20:53 -04:00
Rob Rix
f104676928 🔥 the ToJSONFields1 instance for Product. 2017-09-13 10:20:45 -04:00
Rob Rix
bd19901f80 Define a ToJSONFields1 instance for Const. 2017-09-13 10:19:15 -04:00
Rob Rix
155fd9981e Do a single level of pattern matching. 2017-09-13 09:47:53 -04:00
Rob Rix
644e43b3b0 Fix a fixture. 2017-09-13 09:46:18 -04:00
Rob Rix
e36034455c Correct the tests. 2017-09-13 09:45:10 -04:00
Rob Rix
7e0c9aaaea 🔥 diffF. 2017-09-13 09:35:54 -04:00
Rob Rix
b6e86601a6 Pattern match on diffs instead of using diffF. 2017-09-13 09:35:50 -04:00
Rob Rix
a6442322af 🔥 the Pretty2 instance for Both. 2017-09-13 09:31:24 -04:00
Rob Rix
004324e008 Merge branch 'master' into directed-acyclic-diffs 2017-09-13 09:27:20 -04:00
Rob Rix
c6f9ad1d8e Define DiffF with a Patch constructor. 2017-09-13 09:24:11 -04:00
Rob Rix
327ce1ade3 🔥 some redundant imports. 2017-09-13 09:07:51 -04:00
Rick Winfrey
b84c7f48b9 Merge pull request #1334 from github/assignment-macro
Add GHCi macro protips
2017-09-12 17:55:10 -07:00
Rick Winfrey
725c2fcd30 Import Semigroup; remove unused imports 2017-09-12 17:47:50 -07:00
Rick Winfrey
dbaa0bde92 Merge branch 'master' into assignment-macro 2017-09-12 17:39:36 -07:00
Rob Rix
c1dd3906f8 Merge branch 'directed-acyclic-diffs' of https://github.com/github/semantic-diff into directed-acyclic-diffs 2017-09-12 20:10:35 -04:00
Rob Rix
cf2e428b2d Merge branch 'master' into directed-acyclic-diffs 2017-09-12 20:10:25 -04:00
Rob Rix
7d872a6a88 Merge pull request #1332 from github/relocate-json-fields
Relocate ToJSONFields
2017-09-12 20:09:47 -04:00
Rob Rix
6b13916136 Merge branch 'master' into relocate-json-fields 2017-09-12 19:57:43 -04:00
Rob Rix
7d31c314c0 Merge pull request #1331 from github/specialized-terms-and-diffs
Specialized Terms and Diffs
2017-09-12 19:57:14 -04:00
Rick Winfrey
9d2469a2bf Add pretty-show / colourised pp function 2017-09-12 15:40:44 -07:00
Rick Winfrey
a6cbdab2e9 🔥 prettyprint 2017-09-12 15:40:24 -07:00
Rob Rix
e19192b232 🔥 a load of Pretty* instances. 2017-09-12 16:19:18 -04:00
Rick Winfrey
3f7755b9e8 Add .ghci-template file 2017-09-12 13:14:35 -07:00
Rob Rix
5594453441 Define diffSum in terms of diffF. 2017-09-12 15:17:34 -04:00
Rob Rix
110a1641b7 Define a ToJSONFields1 instance for []. 2017-09-12 15:06:21 -04:00
Rob Rix
12a646009b 🔥 hoistBindingF. 2017-09-12 14:57:21 -04:00
Rick Winfrey
026efbc1ec Add pretty-show and hscolour 2017-09-12 10:26:26 -07:00
joshvera
177ec01e04 bump haskell-tree-sitter 2017-09-12 12:17:00 -04:00