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

7835 Commits

Author SHA1 Message Date
Rob Rix
032dcb047b Pass both the syntaxes to the helper function directly. 2016-07-08 13:57:25 -04:00
Rob Rix
9242d2fe7c Add an alignment function over Cofree f a. 2016-07-08 13:44:29 -04:00
Rob Rix
39a1869bf5 Add a (naïve) Align instance over OrderedMap. 2016-07-08 13:38:48 -04:00
joshvera
772575dffd Add zipUnwrap cases for Comment and Commented 2016-07-08 13:27:41 -04:00
joshvera
3ee4c062d6 import Category as C 2016-07-08 13:16:23 -04:00
joshvera
73afe7d1e9 Add zipTerms to Pairs 2016-07-08 13:16:06 -04:00
Rob Rix
1bf9d63acf Whoops. 2016-07-08 12:17:38 -04:00
Rob Rix
51d8fcd99a Match the parameters only once. 2016-07-08 12:14:42 -04:00
Rob Rix
6961a9ac9c Use wrap. 2016-07-08 12:14:21 -04:00
joshvera
d99df9b8cb Add Comment/Commented/Pair cases to Renderer.Split 2016-07-08 12:04:24 -04:00
joshvera
fdb7a8bc04 Add more JSON cases 2016-07-08 12:01:10 -04:00
joshvera
576b5ef4fb import Syntax as S 2016-07-08 11:50:25 -04:00
joshvera
567e815f28 s/CommentedSyntax/Commented 2016-07-08 11:48:20 -04:00
joshvera
d3a9866305 Map Object leaves to Comments and Fixed/Indexed nodes to pairs 2016-07-08 11:48:05 -04:00
joshvera
8c3fc4b0b3 Align comments, pairs, and Commented terms 2016-07-08 11:47:39 -04:00
joshvera
8755c84466 scope Pair 2016-07-08 11:18:02 -04:00
joshvera
19b0bca394 Remove redundant imports 2016-07-08 11:17:55 -04:00
joshvera
99b05ebdc1 Object takes a list of f now 2016-07-08 11:17:46 -04:00
Josh Vera
81b37bd546 Merge pull request #628 from github/that's-a-wrap
Hint to use `wrap`.
2016-07-07 17:20:01 -04:00
Rob Rix
7e9000853e Hint to use wrap. 2016-07-07 17:09:39 -04:00
Josh Vera
6a23829516 Merge pull request #625 from github/strongly-ordered-random-walk-similarity-diffs
Strongly ordered random walk similarity diffs
2016-07-07 16:31:07 -04:00
joshvera
4c3288b6b1 Return replacements for all other cases against 2016-07-07 13:52:24 -04:00
Rob Rix
bdda261c60 Correct the predicate on i/previous. 2016-07-07 12:23:31 -04:00
Rob Rix
ee212caad6 Allow i to equal the previous index. 2016-07-07 12:21:54 -04:00
Rob Rix
983719e9aa Use accessors instead of destructuring. 2016-07-07 12:21:42 -04:00
Rob Rix
66a38fc95e Avoid unnecessary nesting. 2016-07-07 11:58:31 -04:00
Rob Rix
433db16783 📝 UnmappedTerm. 2016-07-07 11:50:09 -04:00
Rob Rix
372943aee9 🔥 the lis/isSorted machinery. 2016-07-07 11:48:58 -04:00
Rob Rix
9c0bab1e6f Revert "Add a function to lift a boolean into Maybe."
This reverts commit db5ff0e1cbeeaf093c495058d44b9b8143abec05.
2016-07-07 11:47:27 -04:00
Rob Rix
4ea8844b58 Skip reorders. 2016-07-07 11:47:17 -04:00
Rob Rix
ded6e48477 Add a function to lift a boolean into Maybe. 2016-07-07 11:45:01 -04:00
Rob Rix
34363d4eee Insertions don’t really have indices. 2016-07-07 11:41:21 -04:00
Rob Rix
b543dfb0ac Correct the recorded indices for deletions. 2016-07-07 11:25:28 -04:00
Rob Rix
cf7d4414f7 Go back to recording the positions in A. 2016-07-07 11:20:08 -04:00
Rob Rix
1c8113b184 Record the most recently seen index. 2016-07-07 11:11:02 -04:00
Rob Rix
6f59440684 Rename the index getter to termIndex. 2016-07-07 11:10:42 -04:00
Rob Rix
65cf0d223c 🔥 redundant handling of the Nothing case. 2016-07-07 11:08:55 -04:00
Rob Rix
f042889223 Use UnmappedTerm instead of nested tuples. 2016-07-07 11:06:05 -04:00
Rob Rix
09ea3c1a76 Add an UnmappedTerm type to clarify control flow. 2016-07-07 11:05:50 -04:00
Rob Rix
524f71916b 🔥 a redundant import. 2016-07-07 10:56:03 -04:00
Rob Rix
2d4ca17812 Assign diffs the indices from bs. 2016-07-07 10:52:44 -04:00
Rob Rix
2108cddff6 Test rws’ behaviour w.r.t. ordering. 2016-07-07 10:37:55 -04:00
joshvera
1efd68d122 Merge remote-tracking branch 'origin/master' into syntax-redux 2016-07-06 16:22:25 -04:00
Rob Rix
6747e92e0b 🔥 firstAnnotation. 2016-07-06 15:55:11 -04:00
Rob Rix
6a6265be2d Merge branch 'master' into strongly-ordered-random-walk-similarity-diffs 2016-07-06 14:18:44 -04:00
Josh Vera
6420010a6c Merge pull request #617 from github/random-walk-similarity
Random walk similarity
2016-07-06 14:15:32 -04:00
joshvera
6641bdf906 ++js-test 2016-07-06 12:58:37 -04:00
joshvera
9f8ddbd64d Add Object case to styleName 2016-07-06 12:38:47 -04:00
joshvera
ee599f6fa0 Add an Object case to Split 2016-07-06 12:38:47 -04:00
joshvera
4ada4ca991 Use the applicative instance of Join 2016-07-06 12:38:47 -04:00