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

5106 Commits

Author SHA1 Message Date
Rob Rix
ae70cc61c2 Document the Ranges in splitDiffbyLines’ return value. 2016-03-07 12:05:21 -05:00
Rob Rix
7a1a283402 🔥 tearDown. 2016-03-04 21:13:14 -05:00
Rob Rix
abcd9803f3 Pass the Info & Syntax in directly. 2016-03-04 21:12:49 -05:00
Rob Rix
6610745868 an. 2016-03-04 21:09:00 -05:00
Rob Rix
5c06ecc6d0 Define splitAbstractedTerm by catamorphism (more or less). 2016-03-04 21:07:26 -05:00
Rob Rix
e979a40087 Remove some unnecessary parentheses. 2016-03-04 20:46:20 -05:00
Rob Rix
5fdcfbbce9 Tear down diffs with a lambda. 2016-03-04 20:29:04 -05:00
Rob Rix
619fde974d Tacit definition of splitDiffByLines. 2016-03-04 20:26:40 -05:00
Rob Rix
f546977b33 splitAnnotatedByLines takes Both Infos directly. 2016-03-04 20:25:33 -05:00
Rob Rix
cd895d6f87 Re-enable sorting via rowRanges. 2016-03-04 20:18:57 -05:00
Rob Rix
3829f0b064 Rewrite diffRanges as rowRanges. 2016-03-04 20:18:49 -05:00
Rob Rix
78aeffde06 Remove the Functor constraint from unionRanges. 2016-03-04 20:10:45 -05:00
Rob Rix
d702926228 Document maybeConcat. 2016-03-04 20:08:56 -05:00
Rob Rix
9529d3aab0 Revert "Add a maybeUnionRanges function."
This reverts commit 183d77173ea6a9250092710996c066d3af19d816.
2016-03-04 20:08:10 -05:00
Rob Rix
e1ea26206a Revert "Document maybeUnionRanges."
This reverts commit 25dc580212e0c8f6964208b828771fba767933b9.
2016-03-04 20:08:07 -05:00
Rob Rix
650663c83f Revert "Simplify maybeUnionRanges."
This reverts commit 62e79ec5206aa8d07984927f60c0367f3e7aac13.
2016-03-04 20:08:04 -05:00
Rob Rix
d9e74e1f55 Revert "Define maybeUnionRanges as a specialization of maybeConcat."
This reverts commit 3210ab6fe6e660106c3c2e1ae92af733ed27c5b0.
2016-03-04 20:07:59 -05:00
Rob Rix
8325042643 Define unionRangesFrom with maybeConcat. 2016-03-04 20:07:52 -05:00
Rob Rix
2ca378db0d Define maybeUnionRanges as a specialization of maybeConcat. 2016-03-04 20:07:04 -05:00
Rob Rix
d6ec8d0d8c Generalize maybeUnionRanges to maybeConcat. 2016-03-04 20:06:32 -05:00
Rob Rix
6b17c3c1ff Simplify maybeUnionRanges. 2016-03-04 20:03:37 -05:00
Rob Rix
aea8e3e200 Document maybeUnionRanges. 2016-03-04 20:00:01 -05:00
Rob Rix
34e798cb09 Add a maybeUnionRanges function. 2016-03-04 19:59:31 -05:00
Rob Rix
7cb85f6571 Define splitDiffByLines by catamorphism. 2016-03-04 19:53:47 -05:00
Rob Rix
651f0106e3 Migrate a couple of tests over to splitDiffByLines. 2016-03-04 19:53:28 -05:00
Rob Rix
bb00235f4c Swap the order of the operands to splitDiffByLines. 2016-03-04 19:29:57 -05:00
Rob Rix
3a555df147 Swap the order of the operands to splitPatchByLines. 2016-03-04 19:07:54 -05:00
Rob Rix
4a4eb23cb5 Fold eagerly. 2016-03-04 18:53:35 -05:00
Rob Rix
c80c764db8 🔥 makeRanges. 2016-03-04 17:35:03 -05:00
Rob Rix
9b00836f17 Use normal Applicative style instead of makeRanges. 2016-03-04 17:34:53 -05:00
Rob Rix
999f036436 makeRanges can be defined with normal Applicative stuff. 2016-03-04 17:33:14 -05:00
Rob Rix
63b6c9a0c2 Simplify the wrapRowContents call. 2016-03-04 17:20:54 -05:00
Rob Rix
2e6eaefc0b Construct term/range pairs in makeBranchTerm. 2016-03-04 17:17:17 -05:00
Rob Rix
89db51fdf9 Union ranges from the previous indices. 2016-03-04 17:13:53 -05:00
Rob Rix
0c3a53f1e4 Revert "Implement unfold over Free."
This reverts commit 76cbd343dc3f709a0d2bd64ce3fd6d8652570035.
2016-03-04 15:37:28 -05:00
Rob Rix
e86e1299be Revert "Document unfold."
This reverts commit a9266026fc9705c8e793590337a7619672641f06.
2016-03-04 15:37:23 -05:00
Rob Rix
25cc6ca2af Revert "Eta-reduce."
This reverts commit fc3f9e4be3ad5f86837c4bb4ee4bf0fd42f72594.
2016-03-04 15:37:19 -05:00
Rob Rix
c70191d1fc Revert "Sort and extend the imports."
This reverts commit 2aba06412021825ddbfb44c0ef2b11075a069e76.
2016-03-04 15:32:56 -05:00
Rob Rix
ab8f9045fa Revert "Add a function to extract the annotation from a SplitDiff."
This reverts commit 9d5e3ae50ea40760cbb662be9278e8fce05d0298.
2016-03-04 15:32:24 -05:00
Rob Rix
36190c5f57 🔥 the previous indices. 2016-03-04 13:11:27 -05:00
Rob Rix
c575203ef4 Union the ranges from a specific starting range. 2016-03-04 13:07:34 -05:00
Rob Rix
61e43f8c02 splitPatchByLines doesn’t take previous indices. 2016-03-04 12:28:48 -05:00
Rob Rix
0cf7ba393d Alignment returns ranged Rows. 2016-03-04 12:26:40 -05:00
Rob Rix
6ecb1336b9 Add a split fixture for the newline-at-eof test. 2016-03-04 12:19:06 -05:00
Rob Rix
ecf5037fa4 Add a split fixture for the no-newline-at-eof test. 2016-03-04 12:18:33 -05:00
Rob Rix
7a68324ddc Document makeRanges. 2016-03-04 10:01:47 -05:00
Rob Rix
b03a9ac73b Document unionLineRanges. 2016-03-04 10:00:35 -05:00
Rob Rix
4e732bc3d5 Remove some pointless parentheses. 2016-03-04 09:57:55 -05:00
Rob Rix
83e1324d5d Extract makeRanges to top-level scope. 2016-03-04 09:48:40 -05:00
Rob Rix
9b594b5967 Rename rangeForChildLines to unionLineRanges. 2016-03-04 09:42:49 -05:00