Rob Rix
|
f1b8e91723
|
Add an open… function for (Range, _) pairs.
|
2016-03-03 07:58:36 -05:00 |
|
Rob Rix
|
31e9b0e875
|
🔥 getRange.
|
2016-03-03 07:55:16 -05:00 |
|
Rob Rix
|
a2775737b6
|
Revert "Define a pairEither function."
This reverts commit a51ca2c7e3616bef93f20d8e57db0dd7c53d0eb8.
|
2016-03-03 07:54:20 -05:00 |
|
Rob Rix
|
03e1982ec3
|
Pass Terms around as Range/Maybe term pairs.
|
2016-03-03 07:53:23 -05:00 |
|
Rob Rix
|
9b16c90a8f
|
Define a pairEither function.
|
2016-03-03 07:35:15 -05:00 |
|
Rob Rix
|
b5ac83df44
|
Much simpler definition of getRange.
|
2016-03-03 00:56:32 -05:00 |
|
Rob Rix
|
f930c37484
|
Simpler definition of getRange over terms.
|
2016-03-03 00:55:24 -05:00 |
|
Rob Rix
|
8b2a87be62
|
Remove Has.
|
2016-03-02 23:24:13 -05:00 |
|
Rob Rix
|
dd0014d07b
|
Use Copointed instead of Has.
|
2016-03-02 23:23:34 -05:00 |
|
Rob Rix
|
9182ac04ca
|
Merge branch 'moved-terms-in-keyed-nodes-shouldn’t-crash' into copointed
|
2016-03-02 23:18:52 -05:00 |
|
Rob Rix
|
4a7b4b4e4f
|
Replace extract with copoint.
|
2016-03-02 23:11:24 -05:00 |
|
Rob Rix
|
2fcbe7a0d0
|
Construct term ranges safely.
|
2016-03-02 18:55:21 -05:00 |
|
Rob Rix
|
e630169833
|
Move safeRange into the Range module.
|
2016-03-02 18:54:12 -05:00 |
|
Rob Rix
|
49b6984d49
|
Add a type annotation for safeRange.
|
2016-03-02 18:50:27 -05:00 |
|
Rob Rix
|
6efe8893e1
|
Make safe ranges.
|
2016-03-02 18:47:33 -05:00 |
|
Rob Rix
|
631778de13
|
Add a safeRange function.
|
2016-03-02 18:47:28 -05:00 |
|
Rob Rix
|
7dd9428dfa
|
Use transpose to unpack the lines and ranges.
|
2016-03-02 18:34:26 -05:00 |
|
Rob Rix
|
4d11dbe90d
|
Tidy up with the curried constructor.
|
2016-03-02 18:19:29 -05:00 |
|
Rob Rix
|
595b249391
|
Transpose Both terms inline.
|
2016-03-02 18:18:13 -05:00 |
|
Rob Rix
|
1f783ea59a
|
Use runBothWith to simplify packing and unpacking.
|
2016-03-02 18:15:27 -05:00 |
|
Rob Rix
|
1dee480afd
|
Tacit definition of unpackLinesAndRanges.
|
2016-03-02 18:03:35 -05:00 |
|
Rob Rix
|
5cee42e6b2
|
Add a type annotation for unpackLinesAndRanges.
|
2016-03-02 16:19:00 -05:00 |
|
Rob Rix
|
37957e5123
|
Rearrange the pattern matching.
|
2016-03-02 16:17:04 -05:00 |
|
Rob Rix
|
96fe83e71b
|
Use the curried constructor.
|
2016-03-02 16:15:22 -05:00 |
|
Rob Rix
|
72a61a5855
|
Remove an extra line.
|
2016-03-02 16:12:49 -05:00 |
|
Rob Rix
|
45357dddac
|
Define the line/range bindings in a where clause.
|
2016-03-02 16:08:49 -05:00 |
|
Rob Rix
|
f3f5949ac8
|
Document splitPatchByLines.
|
2016-03-02 16:05:59 -05:00 |
|
Rob Rix
|
6fbeda67ec
|
Extract splitPatchByLines into a new function.
|
2016-03-02 16:05:34 -05:00 |
|
Rob Rix
|
519ec11329
|
Remove the local categories binding.
|
2016-03-02 16:03:23 -05:00 |
|
Rob Rix
|
59d76412b2
|
Map Diff.categories over the annotations directly.
|
2016-03-02 16:03:14 -05:00 |
|
Rob Rix
|
7fb7506016
|
Move the Has typeclass to the bottom of the file.
|
2016-03-02 15:55:23 -05:00 |
|
Rob Rix
|
380890b4d4
|
Sort diffs by their ranges.
|
2016-03-02 14:57:42 -05:00 |
|
Rob Rix
|
cbfc8d8593
|
Don’t fmap so hard!
|
2016-03-02 14:42:39 -05:00 |
|
Rob Rix
|
2ac2aef7f0
|
Sequence to construct ranges.
|
2016-03-02 14:40:14 -05:00 |
|
Rob Rix
|
a55a8b0e26
|
Add a type annotation for makeRanges.
|
2016-03-02 14:37:25 -05:00 |
|
Rob Rix
|
4d57b20f76
|
Get patch ranges using unPatch.
|
2016-03-02 14:31:41 -05:00 |
|
Rob Rix
|
6478982b3d
|
Map over both infos.
|
2016-03-02 14:31:41 -05:00 |
|
Rob Rix
|
b9b4a9c7f6
|
Return ranges in Both.
|
2016-03-02 14:31:41 -05:00 |
|
Rob Rix
|
af137dedbf
|
Compute the ranges of a diff.
|
2016-03-02 14:31:41 -05:00 |
|
Rob Rix
|
635fd254a3
|
Compute the starting points of a diff.
|
2016-03-02 14:31:41 -05:00 |
|
Rob Rix
|
ced884d79b
|
Move hasChanges into the Alignment module.
|
2016-03-02 08:05:18 -05:00 |
|
Rob Rix
|
ede7895bf9
|
Move numberedRows into the Alignment module.
|
2016-03-01 16:29:42 -05:00 |
|
Rob Rix
|
7548e148dc
|
Rename runLeft/runRight to fst/snd.
|
2016-02-29 19:39:04 -05:00 |
|
Rob Rix
|
5b5f22711a
|
Define zipWithDefaults over Both.
|
2016-02-29 10:57:01 -05:00 |
|
Rob Rix
|
c889174aee
|
Use Both to represent Diff annotations.
|
2016-02-29 10:12:34 -05:00 |
|
Rob Rix
|
e678c863b3
|
runLeft/runRight to construct insertion/deletion ranges.
|
2016-02-29 10:02:53 -05:00 |
|
Rob Rix
|
768e3fedba
|
Construct insertion/deletion Ranges with rangeAt.
|
2016-02-29 10:00:48 -05:00 |
|
Rob Rix
|
5bbca4cf8d
|
Use runLeft/runRight when aligning insertions/deletions.
|
2016-02-29 09:59:54 -05:00 |
|
Rob Rix
|
a8efcb539a
|
Row wraps a Both.
|
2016-02-29 09:22:52 -05:00 |
|
Rob Rix
|
1abab2bbce
|
adjoinRowsBy applies Both MaybeOpen tests.
|
2016-02-29 08:55:30 -05:00 |
|