Rob Rix
|
a66616e1b6
|
Add a convenience to construct open or closed lines.
|
2016-03-10 09:17:03 -05:00 |
|
Rob Rix
|
60ad5cf634
|
Document linesInRangeOfSource.
|
2016-03-10 09:08:49 -05:00 |
|
Rob Rix
|
f2c8d75879
|
Construct open or closed lines up front.
|
2016-03-10 09:05:16 -05:00 |
|
Rob Rix
|
4b29ee9916
|
Use the linesInRangeOfSource wrapper for leaf lines.
|
2016-03-10 09:02:21 -05:00 |
|
Rob Rix
|
6105e7ce6b
|
Use the linesInRangeOfSource wrapper for context lines.
|
2016-03-10 08:53:40 -05:00 |
|
Rob Rix
|
d844acd9ae
|
Add a wrapper around actualLineRanges.
|
2016-03-10 08:53:24 -05:00 |
|
Rob Rix
|
e85572be38
|
Define the empty Adjoined.
|
2016-03-10 08:34:23 -05:00 |
|
Rob Rix
|
89104cb834
|
Add fromList for Adjoined.
|
2016-03-10 03:40:59 -05:00 |
|
Rob Rix
|
4153844024
|
Disambiguate fromList.
|
2016-03-10 03:40:54 -05:00 |
|
Rob Rix
|
abc8146c31
|
Simplify the other cases.
|
2016-03-10 03:33:43 -05:00 |
|
Rob Rix
|
bb63380905
|
Coalesce functions return a list.
|
2016-03-10 03:32:25 -05:00 |
|
Rob Rix
|
a9399ae818
|
🔥 PartialSemigroup.
|
2016-03-10 03:31:28 -05:00 |
|
Rob Rix
|
29064a6d9d
|
Revert "🔥 Data.Adjoined."
This reverts commit 68dd849071a17f58d4bfe83ebc05b55ffc011ba5.
|
2016-03-10 03:27:00 -05:00 |
|
Rob Rix
|
8fe3aad3cf
|
Add a test fixture for a reformatted file.
|
2016-03-10 02:51:18 -05:00 |
|
Rob Rix
|
917b3db890
|
Add a test of multiline insertion split diff rendering.
|
2016-03-10 01:47:33 -05:00 |
|
Rob Rix
|
3913084af2
|
Add a test of nested insertion split diff rendering.
|
2016-03-10 01:44:34 -05:00 |
|
Rob Rix
|
df4c94bab9
|
Correct the insert fixture to not end with a newline.
|
2016-03-10 01:06:05 -05:00 |
|
Rob Rix
|
a965894d16
|
Correct the test of aligning closed lines.
|
2016-03-10 01:04:42 -05:00 |
|
Rob Rix
|
324fcfab31
|
Correct the test of prepending closed rows.
|
2016-03-10 01:03:38 -05:00 |
|
Rob Rix
|
893252f3e4
|
Better docs for rowIncrement.
|
2016-03-10 00:58:22 -05:00 |
|
Rob Rix
|
ec30936342
|
Rename rowLength to rowIncrement.
|
2016-03-10 00:57:47 -05:00 |
|
Rob Rix
|
f2bb06c9c3
|
Reuse lineIncrement.
|
2016-03-10 00:56:31 -05:00 |
|
Rob Rix
|
1c9dd2ec50
|
Document isEmpty.
|
2016-03-10 00:55:22 -05:00 |
|
Rob Rix
|
aeba0662af
|
Move lineIncrement to Line.hs.
|
2016-03-10 00:55:03 -05:00 |
|
Rob Rix
|
910e52484f
|
Better docs for lineIncrement.
|
2016-03-10 00:54:41 -05:00 |
|
Rob Rix
|
1b47c9bd68
|
Rename lineLength to lineIncrement.
|
2016-03-10 00:53:58 -05:00 |
|
Rob Rix
|
e46bf1c836
|
Generalize lineLength over Num.
|
2016-03-10 00:52:36 -05:00 |
|
Rob Rix
|
b9b7138e1b
|
mappend preserves right-closure.
|
2016-03-10 00:50:02 -05:00 |
|
Rob Rix
|
1068deaa41
|
Adjoining constructs Closed lines.
|
2016-03-10 00:42:22 -05:00 |
|
Rob Rix
|
723eee40f7
|
Short-circuit the isOpen test for Closed lines.
|
2016-03-10 00:41:58 -05:00 |
|
Rob Rix
|
c18885af32
|
Add a Closed case to Line.
|
2016-03-10 00:39:20 -05:00 |
|
Rob Rix
|
9614994e53
|
Use the isEmpty predicate to test for line emptiness.
|
2016-03-10 00:37:21 -05:00 |
|
Rob Rix
|
2ac045aae3
|
Define an isEmpty predicate for lines.
|
2016-03-10 00:34:18 -05:00 |
|
Rob Rix
|
734e39d221
|
Smarter test for emptiness.
|
2016-03-10 00:30:29 -05:00 |
|
Rob Rix
|
3e7beb2cc4
|
Define the Monoid instance using unLine.
|
2016-03-10 00:30:18 -05:00 |
|
Rob Rix
|
428cdc0084
|
Prefer parens here.
|
2016-03-10 00:30:10 -05:00 |
|
Rob Rix
|
28b8b9dcb2
|
Merge branch 'master' into data-dot-adjoined
|
2016-03-09 22:15:28 -05:00 |
|
Rob Rix
|
b0f3140394
|
Merge pull request #507 from github/fix-empty-file-additions
Only map SourceBlobs with no mode to empty SourceBlobs
|
2016-03-09 14:52:26 -05:00 |
|
Josh Vera
|
da332138ec
|
Merge branch 'master' into fix-empty-file-additions
|
2016-03-09 14:48:08 -05:00 |
|
Josh Vera
|
1ab14bca63
|
Merge pull request #506 from github/never-say-nothing
Never say nothing
|
2016-03-09 14:11:59 -05:00 |
|
Rob Rix
|
6d3aa61435
|
Don’t bind a variable we don’t use.
|
2016-03-09 14:04:09 -05:00 |
|
Rob Rix
|
0b95412dcb
|
Handle the degenerate Nothing/Nothing case explicitly (even tho it’ll never happen).
|
2016-03-09 14:03:57 -05:00 |
|
Rob Rix
|
48dd01584b
|
Treat the test inputs & outputs as vendored for linguist’s sake.
|
2016-03-09 09:57:25 -05:00 |
|
Rob Rix
|
08cc99bc45
|
We no longer have any Fixtures directories.
|
2016-03-09 09:57:09 -05:00 |
|
Rob Rix
|
bff4908e16
|
🔥 Data.Option.
|
2016-03-09 09:52:53 -05:00 |
|
Rob Rix
|
d87f4e18ea
|
🔥 adjoinLinesBy.
|
2016-03-09 09:52:42 -05:00 |
|
Rob Rix
|
223febc052
|
Add a test of insertions demonstrating that we put the empty line in the right place.
|
2016-03-09 09:48:10 -05:00 |
|
Rob Rix
|
94aa9be081
|
🔥 rowRangesBy.
|
2016-03-09 09:40:06 -05:00 |
|
Rob Rix
|
a50a62d54f
|
Note the alignment function in splitAbstractedTerm’s docs.
|
2016-03-09 09:36:12 -05:00 |
|
Rob Rix
|
3a28598e86
|
🔥 a redundant import.
|
2016-03-09 09:33:14 -05:00 |
|