Rob Rix
|
fef60e4aca
|
Add a Change type which encapsulates partial hunks.
|
2015-12-24 18:28:31 -05:00 |
|
Rob Rix
|
b658a311ef
|
Abstract Hunk over arbitrary Rows.
|
2015-12-24 18:23:04 -05:00 |
|
Rob Rix
|
8dda0cbd39
|
Show lines with prefixes.
|
2015-12-24 18:20:28 -05:00 |
|
Rob Rix
|
6c32921b99
|
Add a type annotation for showHunk.
|
2015-12-24 18:17:25 -05:00 |
|
Rob Rix
|
b138e2b5b8
|
Move {row,line,diff}HasChanges to the top level.
|
2015-12-24 18:14:19 -05:00 |
|
Rob Rix
|
30805882b5
|
Derive the Show instance for Hunk.
|
2015-12-24 18:11:38 -05:00 |
|
Rob Rix
|
3fd62682d8
|
Show hunks in their sources.
|
2015-12-24 18:11:32 -05:00 |
|
Rob Rix
|
dadae9497d
|
Add a showHunk function to pretty-print a hunk within a pair of sources.
|
2015-12-24 18:11:19 -05:00 |
|
Rob Rix
|
7c95ee30e2
|
Find (part of) the next hunk in a list of rows.
|
2015-12-24 17:58:09 -05:00 |
|
Rob Rix
|
82b054c559
|
Add a function to take the last n elements of a list.
|
2015-12-24 17:54:26 -05:00 |
|
Rob Rix
|
33240ced54
|
Find the hunks in a diff & sources.
|
2015-12-24 17:42:38 -05:00 |
|
Rob Rix
|
052217ea3b
|
Add a function to find the hunks in a list of rows, recursively.
|
2015-12-24 17:42:22 -05:00 |
|
Rob Rix
|
b535fac1ea
|
Stub in a function to compute the next Hunk & remaining rows in a list of rows.
|
2015-12-24 17:42:08 -05:00 |
|
Rob Rix
|
a10cc9f13e
|
Hunks are defined over Rows.
|
2015-12-24 17:41:45 -05:00 |
|
Rob Rix
|
25b9699981
|
Remove Line .
|
2015-12-24 17:15:13 -05:00 |
|
Rob Rix
|
1c1da259a7
|
Define Hunk using record syntax.
|
2015-12-24 17:14:47 -05:00 |
|
Rob Rix
|
77b92d98a6
|
Eta reduction.
|
2015-12-24 17:02:31 -05:00 |
|
Rob Rix
|
5257089ad4
|
Patches are constructed over Source Char s.
|
2015-12-24 16:37:14 -05:00 |
|
Rob Rix
|
8e6d9c5d64
|
Export hunks .
|
2015-12-18 09:48:04 -05:00 |
|
Rob Rix
|
9134d0b1eb
|
Derive an Eq instance for Hunk.
|
2015-12-18 09:48:00 -05:00 |
|
Rob Rix
|
7df46904e3
|
Derive Show & Eq instances for PatchOutput.Line.
|
2015-12-18 09:47:54 -05:00 |
|
Rob Rix
|
ec3cb82d92
|
Destructure diff .
|
2015-12-18 09:34:06 -05:00 |
|
Rob Rix
|
57f351ae3c
|
Hunks are hunks.
|
2015-12-18 08:25:53 -05:00 |
|
Rob Rix
|
e4ea158353
|
Show the hunks.
|
2015-12-18 08:25:49 -05:00 |
|
Rob Rix
|
788d096e5e
|
Add a Show instance for Hunk.
|
2015-12-18 08:25:37 -05:00 |
|
Rob Rix
|
b38f0d5037
|
Only export patch .
|
2015-12-18 08:24:45 -05:00 |
|
Rob Rix
|
5296a742c8
|
Ascribe Int to avoid some warnings.
|
2015-12-18 08:15:27 -05:00 |
|
Rob Rix
|
33aabea60c
|
Show the deleted/inserted line counts.
|
2015-12-18 08:12:49 -05:00 |
|
Rob Rix
|
e22f951038
|
Count the inserted & deleted lines.
|
2015-12-18 08:12:11 -05:00 |
|
Rob Rix
|
6711d29ea4
|
Stub in hunk headers.
|
2015-12-18 08:07:43 -05:00 |
|
Rob Rix
|
4d407e773f
|
Hunks have offsets.
|
2015-12-18 08:05:23 -05:00 |
|
Rob Rix
|
1e1d6295da
|
Stub in a Hunk type.
|
2015-12-18 08:04:45 -05:00 |
|
Rob Rix
|
5f21e35a3b
|
Stub in a Line type.
|
2015-12-18 08:04:40 -05:00 |
|
Rob Rix
|
c3a292b833
|
A patch is the concatenation of a list of hunks.
|
2015-12-18 08:00:01 -05:00 |
|
Rob Rix
|
f17df18b63
|
Stub in a patch rendering function.
|
2015-12-17 17:22:53 -05:00 |
|
Rob Rix
|
f41c154b76
|
Stub in a PatchOutput module.
|
2015-12-17 17:22:09 -05:00 |
|