1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 15:35:14 +03:00
Commit Graph

5076 Commits

Author SHA1 Message Date
Rob Rix
aed575fa29 Pass the Range around as the second field. 2016-03-03 12:50:01 -05:00
Rob Rix
568cfa863f Single code path for zipping patches up. 2016-03-03 12:31:47 -05:00
Rob Rix
7a03c23018 Abstract the constructor over the patch. 2016-03-03 12:30:23 -05:00
Rob Rix
ff31489bce Don’t even bind these. 2016-03-03 12:28:51 -05:00
Rob Rix
26abb3da7f Unwrap Maybes into the correct ranges for either side. 2016-03-03 12:28:18 -05:00
Rob Rix
c59913da98 Unpack with maybe instead of sequencing. 2016-03-03 12:19:28 -05:00
Rob Rix
f646a14d3b Transpose replacements through unPatch. 2016-03-03 12:07:09 -05:00
Rob Rix
a281f4d2e6 Merge branch 'master' into refactor-alignment 2016-03-03 11:55:47 -05:00
Josh Vera
b12c64582a Merge pull request #497 from github/copointed
Copointed
2016-03-03 11:53:29 -05:00
Josh Vera
32760e6686 Merge branch 'master' into copointed 2016-03-03 11:50:45 -05:00
Josh Vera
8bbeb5e383 Merge pull request #494 from github/moved-terms-in-keyed-nodes-shouldn’t-crash
Moved terms in keyed nodes shouldn’t crash
2016-03-03 11:50:25 -05:00
Rob Rix
cc652215ac Correct the splitAbstractedTerm docs. 2016-03-03 11:46:31 -05:00
Rob Rix
c6a8aa2593 Generalize term to distinct inTerm and outTerm types. 2016-03-03 11:42:25 -05:00
Rob Rix
edc3e16e97 🔥 splitTermByLines. 2016-03-03 11:41:05 -05:00
Rob Rix
7d407c6305 Document splitAbstractedTerm. 2016-03-03 11:40:52 -05:00
Rob Rix
723f14aa4c Test splitAbstractedTerm. 2016-03-03 11:39:23 -05:00
Rob Rix
15026e2049 Call into splitAbstractedTerm directly for insertions/deletions too. 2016-03-03 11:36:33 -05:00
Rob Rix
a649b59eac Call into splitAbstractedTerm directly for replacements. 2016-03-03 11:33:49 -05:00
Rob Rix
88732315da Implement splitTermByLines via splitAbstractedTerm. 2016-03-03 11:29:03 -05:00
Rob Rix
a05ac7ff64 Add splitAbstractedTerm which abstracts splitTermByLines away from Term leaf Info. 2016-03-03 11:27:29 -05:00
Rob Rix
4837a5e2fb Merge branch 'moved-terms-in-keyed-nodes-shouldn’t-crash' into refactor-alignment
# Conflicts:
#	src/Alignment.hs
2016-03-03 11:05:30 -05:00
Rob Rix
8939ccd6c0 Merge branch 'moved-terms-in-keyed-nodes-shouldn’t-crash' into copointed
# Conflicts:
#	src/Alignment.hs
2016-03-03 11:03:10 -05:00
Rob Rix
5d725d69c6 Document why we’re doing this funky test. 2016-03-03 10:56:31 -05:00
Rob Rix
22ddd29583 Skip rows for bad ranges. 2016-03-03 10:53:41 -05:00
Rob Rix
8445b988b4 Revert "Add a safeRange function."
This reverts commit 2e6a8abcfd604438f22b143f86a244bab19d694e.
2016-03-03 10:42:16 -05:00
Rob Rix
e22210357d Revert "Make safe ranges."
This reverts commit 0dcfc48c8d9e441a9620adef6fc7832ef2796685.
2016-03-03 10:42:13 -05:00
Rob Rix
30c63a34a5 Revert "Add a type annotation for safeRange."
This reverts commit b456a9bfd53efec7cb61c204762773a2fdd5995e.
2016-03-03 10:42:06 -05:00
Rob Rix
9981e98a77 Revert "Move safeRange into the Range module."
This reverts commit 781f940cad93db3954ddb9f2ddd9de23c432a68f.
2016-03-03 10:42:03 -05:00
Rob Rix
ca432139f8 Revert "Slice source ranges safely."
This reverts commit 33b412d0bc037648fb00996ae9b1e6696551abae.
2016-03-03 10:41:55 -05:00
Rob Rix
e31091ecd4 Revert "Construct term ranges safely."
This reverts commit 75165616b5e550b40027118bdc67d9c25c39ae32.
2016-03-03 10:41:50 -05:00
Rob Rix
9a2dacebe7 Eta-reduce. 2016-03-03 10:40:15 -05:00
Rob Rix
9fa5334e33 Document transpose. 2016-03-03 10:37:55 -05:00
Rob Rix
a728484501 Merge branch 'master' into moved-terms-in-keyed-nodes-shouldn’t-crash 2016-03-03 10:36:21 -05:00
Rob Rix
a2999611b5 Document unfold. 2016-03-03 10:32:53 -05:00
Rob Rix
b7c10f039c Merge branch 'master' into refactor-alignment 2016-03-03 10:30:08 -05:00
Rob Rix
6be5555649 Merge branch 'master' into copointed 2016-03-03 10:22:24 -05:00
Rob Rix
2e52754859 Implement unfold over Free. 2016-03-03 10:22:05 -05:00
Josh Vera
27f898af75 Merge pull request #496 from github/array-literals
Array literals
2016-03-03 10:19:33 -05:00
Rob Rix
f0e5340e3c 🔥 some Copointed constraints. 2016-03-03 10:16:04 -05:00
Rob Rix
6479f02047 🔥 contextRows. 2016-03-03 10:15:23 -05:00
Rob Rix
c64e3f7ca1 Zip context ranges into leading context rows correctly. 2016-03-03 10:15:10 -05:00
Rob Rix
4d49c9f098 Zip context rows into trailing context correctly. 2016-03-03 10:13:16 -05:00
Rob Rix
00f0a877d8 Zip context rows into leaves correctly. 2016-03-03 10:10:58 -05:00
Rob Rix
ac8d2c9689 contextRows returns Both Ranges, not Rows. 2016-03-03 09:41:33 -05:00
Rob Rix
c19073ab84 🔥 openDiff. 2016-03-03 09:03:15 -05:00
Rob Rix
8e78339c39 🔥 openTerm. 2016-03-03 09:02:33 -05:00
Rob Rix
12b15f5d33 Remove Copointed constraints from the wrap functions. 2016-03-03 08:54:59 -05:00
Rob Rix
c27122151a 🔥 the Data.Text import. 2016-03-03 08:52:31 -05:00
Rob Rix
1600adda47 🔥 the unused ClassName synonym. 2016-03-03 08:52:25 -05:00
Rob Rix
2eb8b6b460 Revert "Add a stupid rowMap function to fmap Both things. It’s an Applicative helper really."
This reverts commit 7a924bbacdd74b3697cc9bbf991b27b24ec8ce31.
2016-03-03 08:49:59 -05:00