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 |
|
Rob Rix
|
01afcbf5b4
|
🔥 splitAnnotatedByLines.
|
2016-03-09 09:33:08 -05:00 |
|
Rob Rix
|
ec0c1c448e
|
Migrate the splitAnnotatedByLines tests to splitAbstractedTerm.
|
2016-03-09 09:32:51 -05:00 |
|
Rob Rix
|
be1f548c61
|
splitDiffByLines uses splitAbstractedTerm.
|
2016-03-09 09:30:18 -05:00 |
|
Rob Rix
|
402dafa6e3
|
Constrain the aligning function to Monoids.
|
2016-03-09 09:30:00 -05:00 |
|
Rob Rix
|
2930a96aed
|
Pointfree.
|
2016-03-09 09:23:28 -05:00 |
|
Rob Rix
|
129055ea42
|
Sort keyed nodes with the assistance of an unaligning function.
|
2016-03-09 05:28:34 -05:00 |
|
Rob Rix
|
55260afb2b
|
Expand the Row type in rowRanges.
|
2016-03-09 05:24:21 -05:00 |
|
Rob Rix
|
5d150fd816
|
Abstract splitAbstractedTerm over an alignment function.
|
2016-03-09 05:02:54 -05:00 |
|
Rob Rix
|
789a7d1be8
|
Abstract splitAbstractedTerm over an Applicative Traversable Functor.
|
2016-03-09 04:57:30 -05:00 |
|
Rob Rix
|
2a2e274084
|
Define splitAbstractedTerm over adjoinChildren.
|
2016-03-09 04:45:30 -05:00 |
|
Rob Rix
|
1274522dbd
|
The Monoid instance already distributes.
|
2016-03-09 04:20:43 -05:00 |
|
Rob Rix
|
da0aff3d5f
|
Extract the common construction stuff into a function.
|
2016-03-09 04:19:09 -05:00 |
|
Rob Rix
|
2acf80d633
|
Only pass a single constructor in.
|
2016-03-09 04:17:39 -05:00 |
|
Rob Rix
|
2efbb0f87d
|
Use adjoinRowsBy.
|
2016-03-09 04:14:31 -05:00 |
|
Rob Rix
|
73aa926bdc
|
Generalize adjoinRowsBy to any Applicative with an aligning function.
|
2016-03-09 04:13:09 -05:00 |
|
Rob Rix
|
8c36e46452
|
Expand the Row type synonym in adjoinRowsBy.
|
2016-03-09 04:09:46 -05:00 |
|
Rob Rix
|
4e1b48a356
|
Don’t pass in the adjoining function.
|
2016-03-09 04:09:35 -05:00 |
|
Rob Rix
|
dd5b94a4a2
|
Splitting annotated diffs uses the extracted adjoining function.
|
2016-03-09 04:04:51 -05:00 |
|
Rob Rix
|
9c180e3c48
|
Extract the adjoining function.
|
2016-03-09 04:02:00 -05:00 |
|
Rob Rix
|
9cebf83c5c
|
Use the extracted childLines function for terms.
|
2016-03-09 03:09:13 -05:00 |
|
Rob Rix
|
b62d2633cc
|
Use the extracted childLines function for diffs.
|
2016-03-09 02:51:42 -05:00 |
|
Rob Rix
|
7051991dd4
|
Copy the comment about increasing ranges down.
|
2016-03-09 02:50:31 -05:00 |
|
Rob Rix
|
cc73c29978
|
Extract the computation of child lines.
|
2016-03-09 02:50:02 -05:00 |
|
Rob Rix
|
064d7768fa
|
Extract the computation of childRanges.
|
2016-03-09 02:49:05 -05:00 |
|
Rob Rix
|
dbe6e6de60
|
Don’t bother importing Data.Monoid just for <>.
|
2016-03-09 02:16:24 -05:00 |
|
Rob Rix
|
683fc20989
|
Replace zipWithDefaults with zipDefaults.
|
2016-03-09 02:08:22 -05:00 |
|
Rob Rix
|
0ce9bb0858
|
🔥 the redundant pattern for isOpenLineBy.
|
2016-03-09 02:01:46 -05:00 |
|
Rob Rix
|
51d36140c5
|
🔥 makeLine.
|
2016-03-09 01:56:59 -05:00 |
|
Rob Rix
|
d18e044d5c
|
Use Line, not makeLine.
|
2016-03-09 01:56:41 -05:00 |
|
Rob Rix
|
4d25c23618
|
🔥 offsetRange.
|
2016-03-09 01:52:45 -05:00 |
|
Rob Rix
|
2b231edab4
|
🔥 substring.
|
2016-03-09 01:52:20 -05:00 |
|
Rob Rix
|
471449985a
|
🔥 sublist.
|
2016-03-09 01:51:39 -05:00 |
|
Rob Rix
|
64384f407b
|
Use the existing totalRange function in the alignment spec.
|
2016-03-09 01:44:36 -05:00 |
|
Rob Rix
|
67fd5c3da4
|
Generalize totalRange to arbitrary Foldables.
|
2016-03-09 01:43:22 -05:00 |
|
Rob Rix
|
086a3d53cb
|
🔥 Row.
|
2016-03-09 01:39:18 -05:00 |
|
Rob Rix
|
51b9472aa4
|
Move the Row type synonym into Alignment.hs.
|
2016-03-09 01:38:59 -05:00 |
|
Rob Rix
|
6e735f8119
|
Move adjoinRowsBy into Alignment.hs.
|
2016-03-09 01:36:40 -05:00 |
|
Rob Rix
|
820d38847c
|
🔥 makeRow.
|
2016-03-09 01:35:47 -05:00 |
|
Rob Rix
|
cb66328f79
|
Replace Row with a type synonym for Both.
|
2016-03-09 01:35:01 -05:00 |
|