1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 22:31:36 +03:00
Commit Graph

8078 Commits

Author SHA1 Message Date
Rob Rix
071e9568f0 📝 runAlgorithm. 2016-08-04 12:42:26 -04:00
Rob Rix
11a3f32432 Haddock-friendly 📝 of diffTerms. 2016-08-04 12:33:09 -04:00
Rob Rix
e0da05538e Haddock-friendly 📝 of AlgorithmF. 2016-08-04 12:31:18 -04:00
Rob Rix
d2cbccede2 Haddock-friendly 📝 for rws. 2016-08-04 12:30:23 -04:00
Rob Rix
af34a7bf1c Haddock-friendly docs for Syntax. 2016-08-04 12:26:07 -04:00
Rob Rix
7378668b2c Put the = before the first constructor. 2016-08-04 12:25:56 -04:00
Rob Rix
04a3d52007 📝 diffTerms. 2016-08-04 12:13:48 -04:00
Rob Rix
49d0fa7980 Correct the 📝 of Algorithm. 2016-08-04 12:10:19 -04:00
Rob Rix
e23b78f1bc Section header for the DSL. 2016-08-04 12:08:34 -04:00
Rob Rix
e1bb2297af 📝 the Algorithm DSL. 2016-08-04 12:08:18 -04:00
Rob Rix
b4683ffc4f 📝 BySimilarity. 2016-08-04 12:07:24 -04:00
Rob Rix
dfd807c945 Clarify the 📝 for ByIndex. 2016-08-04 12:07:19 -04:00
Rob Rix
494274315d Rename ByRandomWalkSimilarity to BySimilarity. 2016-08-04 12:06:15 -04:00
Rob Rix
f533059ab2 Diff methods’ parameters & expressions byIndex. 2016-08-04 12:00:33 -04:00
Rob Rix
ba1601f089 Diff function call arguments byIndex. 2016-08-04 11:54:42 -04:00
Rob Rix
efeb01e970 Diff objects byIndex. 2016-08-04 11:53:08 -04:00
Rob Rix
970ae647d2 Diff class definitions byIndex. 2016-08-04 11:51:44 -04:00
Rob Rix
15460768bd Diff switch statements’ cases byIndex. 2016-08-04 11:48:28 -04:00
Rob Rix
6f39c764fd 🔥 a redundant import. 2016-08-04 11:48:17 -04:00
Rob Rix
00e538fadb Diff Commented nodes’ comments byIndex. 2016-08-04 11:46:02 -04:00
Rob Rix
bb40b363ba Diff Array nodes byIndex. 2016-08-04 11:40:35 -04:00
Rob Rix
a138cf5ec2 Split out the Indexed handling into a helper function. 2016-08-04 11:40:27 -04:00
Rob Rix
e41a0589d5 Define recur by closing over the higher-order functions. 2016-08-04 11:12:52 -04:00
Rob Rix
d9a1bd29f2 🔥 run. 2016-08-04 11:11:22 -04:00
Rob Rix
360863cc21 Define diffComparableTerms in terms of runAlgorithm. 2016-08-04 11:11:12 -04:00
Rob Rix
78a5e8cf32 Pare algorithmWithTerms down to its essentials. 2016-08-04 11:09:48 -04:00
Rob Rix
401b78099c Generalize algorithmWithTerms over the diff type. 2016-08-04 11:08:08 -04:00
Rob Rix
7a2c4ed783 Generalize the Algorithm DSL over the term & diff types. 2016-08-04 11:06:19 -04:00
Rob Rix
0598e0727e algorithmWithTerms does not constrain the annotation type. 2016-08-04 11:03:13 -04:00
Rob Rix
27786f3326 🔥 constructAndRun. 2016-08-04 11:01:29 -04:00
Rob Rix
1df66429a6 run recurs via diffComparableTerms. 2016-08-04 11:01:25 -04:00
Rob Rix
47c2bdc60e Use the diff constructor within algorithmWithTerms to compute costs &c. 2016-08-04 11:00:29 -04:00
Rob Rix
58fe4fdc89 Define constructAndRun.algorithm by case analysis. 2016-08-04 10:58:29 -04:00
Rob Rix
0953d430b9 Rearrange the definition of constructAndRun a little. 2016-08-04 10:56:20 -04:00
Rob Rix
7809ae1756 Unpack the annotations &c inline. 2016-08-04 10:54:36 -04:00
Rob Rix
99b076df80 Define diffTerms in terms of diffComparableTerms. 2016-08-04 10:47:31 -04:00
Rob Rix
c0d702c22d Add a diffComparableTerms function. 2016-08-04 10:46:48 -04:00
Rob Rix
05b9aee4ea Guard recur on the comparability of its operands. 2016-08-04 10:34:14 -04:00
Rob Rix
d12dd5d567 Extract the recur function into the where clause. 2016-08-04 10:33:37 -04:00
Rob Rix
5acf6ff0f2 Check for comparability in diffTerms. 2016-08-04 10:32:55 -04:00
Rob Rix
3808b89fe4 Use replacing in diffTerms. 2016-08-04 10:32:05 -04:00
Rob Rix
18065f5048 Merge branch 'master' into algorithm-dsl 2016-08-04 10:25:13 -04:00
Josh Vera
e742a8c86d Merge pull request #676 from github/fix-some-other-warnings
Fix some other warnings
2016-08-04 10:24:02 -04:00
Rob Rix
f379deca33 Use the Foldable instance to avoid a mappend. 2016-08-04 10:19:46 -04:00
Rob Rix
5280b62a20 Commented terms are named from their children. 2016-08-04 10:19:02 -04:00
joshvera
e39ab20eee Use termNameFromSource in toTermName 2016-08-04 10:13:56 -04:00
Rob Rix
0bc1993287 Merge branch 'master' into algorithm-dsl 2016-08-04 10:07:29 -04:00
Rob Rix
2286b2b37b Define toTermName over Error nodes. 2016-08-04 10:04:33 -04:00
Rob Rix
6c39b170e8 Define toTermName over Commented nodes. 2016-08-04 10:04:33 -04:00
Rob Rix
70c6b42e69 Add the missing pattern match over methods. 2016-08-04 10:04:33 -04:00