1
1
mirror of https://github.com/github/semantic.git synced 2024-12-11 08:45:48 +03:00
Commit Graph

15449 Commits

Author SHA1 Message Date
Rob Rix
42b83b0e6d Add a second annotation type parameter to Algorithm. 2017-09-13 20:42:02 -04:00
Rob Rix
bf2de994ac Curry diffing operations. 2017-09-13 19:34:27 -04:00
Rob Rix
8816a1b705 Parameterize Algorithm by the annotation type. 2017-09-13 19:18:38 -04:00
Rob Rix
9de429be45 🔥 the SyntaxTerm, SyntaxTermF, & SyntaxDiff type synonyms. 2017-09-13 19:14:01 -04:00
Rob Rix
d612b22fca Make the term parameter * -> *. 2017-09-13 18:59:38 -04:00
Rob Rix
d353f798c5 Add annotation parameters to Algorithm. 2017-09-13 18:52:27 -04:00
Rob Rix
b193c30ef9 Merge branch 'master' into directed-acyclic-diffs 2017-09-13 16:19:10 -04:00
Rob Rix
f4789ee49e 🔥 a few unused ToJSONFields* instances. 2017-09-13 16:10:29 -04:00
Rob Rix
20e0943c72 🔥 the Sum inside Patch nodes. 2017-09-13 16:07:22 -04:00
Rob Rix
0ec9584a6d Correct the tests. 2017-09-13 16:03:27 -04:00
Rob Rix
1c9ad27288 🔥 Data.Functor.Binding. 2017-09-13 16:00:39 -04:00
Rob Rix
72574bd836 Diffs don’t need let-bindings. 2017-09-13 15:59:34 -04:00
Rob Rix
89f7101e27 📝 Env stuff. 2017-09-13 15:48:02 -04:00
Rob Rix
b118bb5b38 📝 a bunch of Binding stuff. 2017-09-13 15:47:18 -04:00
Rob Rix
73802e773c 📝 BindingF’s constructors. 2017-09-13 15:42:41 -04:00
Rob Rix
3232aa828e 📝 BindingF. 2017-09-13 15:41:07 -04:00
Rob Rix
fe583bf65a 📝 Metavar. 2017-09-13 15:41:02 -04:00
Rob Rix
dca21e21c4 📝 DiffF & its constructors. 2017-09-13 15:33:42 -04:00
Rob Rix
5573f13c45 Better docs for Diff. 2017-09-13 15:28:13 -04:00
Rob Rix
aa24b6d59f 📝 the smart constructors. 2017-09-13 15:27:21 -04:00
Rob Rix
d133105c8f Move the smart constructors up. 2017-09-13 15:22:57 -04: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