Rob Rix
|
c89aa9c16f
|
Red and green, bold.
|
2015-11-02 18:03:02 -05:00 |
|
Rob Rix
|
a22491ceda
|
Console attributes.
|
2015-11-02 18:02:37 -05:00 |
|
Rob Rix
|
75703e1561
|
Should we format?
|
2015-11-02 17:41:56 -05:00 |
|
Rob Rix
|
e4ff0e4a89
|
Is it a dumb TTY?
|
2015-11-02 17:39:47 -05:00 |
|
Rob Rix
|
1934d65b99
|
Are we talking to a TTY?
|
2015-11-02 17:39:42 -05:00 |
|
Rob Rix
|
a78564506b
|
Format the terms.
|
2015-11-02 17:30:41 -05:00 |
|
Rob Rix
|
8c2e1f6f50
|
Sort keyed children using the ordering.
|
2015-11-02 17:29:43 -05:00 |
|
Rob Rix
|
a740dcceee
|
Add a partial ordering on keyed children.
|
2015-11-02 17:29:35 -05:00 |
|
Rob Rix
|
84e111c1c1
|
Stringify keyed terms.
|
2015-11-02 17:28:21 -05:00 |
|
Rob Rix
|
02c31d7be4
|
Stringify fixed terms.
|
2015-11-02 17:26:38 -05:00 |
|
Rob Rix
|
1242534be6
|
Stringify indexed terms.
|
2015-11-02 17:26:28 -05:00 |
|
Rob Rix
|
700e2a84a1
|
Return ranges out when computing term strings.
|
2015-11-02 17:26:23 -05:00 |
|
Rob Rix
|
3c3bbc3cb9
|
Copy out term leaf ranges.
|
2015-11-02 17:24:22 -05:00 |
|
Rob Rix
|
975cfb427c
|
Stub in stringification of terms.
|
2015-11-02 17:22:39 -05:00 |
|
Rob Rix
|
ae5b50bcdf
|
CofreeType.cata ’s transformation block receives the annotation.
|
2015-11-02 17:22:24 -05:00 |
|
Rob Rix
|
ed9ca09909
|
Duplicate cata for CofreeType .
|
2015-11-02 17:20:42 -05:00 |
|
Rob Rix
|
4f03d5355b
|
🔥 Free.para .
|
2015-11-02 17:18:56 -05:00 |
|
Rob Rix
|
43100a0432
|
Sort keyed elements by fiat
|
2015-11-02 17:15:39 -05:00 |
|
Rob Rix
|
2ca27681aa
|
Pass both strings to Patch stringification.
|
2015-11-02 17:15:27 -05:00 |
|
Rob Rix
|
523d7a441e
|
Use the context-printing function for indexed syntax.
|
2015-11-02 16:15:34 -05:00 |
|
Rob Rix
|
d015f972ae
|
Use the new context printing function for fixed syntax.
|
2015-11-02 16:15:13 -05:00 |
|
Rob Rix
|
7ac4c9ee03
|
Add a private function to splat out context.
|
2015-11-02 16:14:03 -05:00 |
|
Rob Rix
|
b858c164d8
|
Term printing is private.
|
2015-11-02 16:11:55 -05:00 |
|
Rob Rix
|
1027f6b67f
|
Use accurate ranges where possible.
|
2015-11-02 16:07:57 -05:00 |
|
Rob Rix
|
144f6ba2c2
|
Ranges can be nil.
|
2015-11-02 16:07:34 -05:00 |
|
Rob Rix
|
44dbf62d7c
|
Print and benchmark the diff.
|
2015-11-02 16:03:09 -05:00 |
|
Rob Rix
|
4fe901bbd4
|
Remove the switch statement.
|
2015-11-02 16:03:03 -05:00 |
|
Rob Rix
|
6f2176ca57
|
Compute the unified diff as a catamorphism.
|
2015-11-02 16:02:58 -05:00 |
|
Rob Rix
|
9959c231aa
|
Stub in a function to compute the range of a patch.
|
2015-11-02 16:02:23 -05:00 |
|
Rob Rix
|
3fbfeccce9
|
Free.para ’s transformation function receives the annotation.
|
2015-11-02 15:12:27 -05:00 |
|
Rob Rix
|
aa815e8010
|
Free.cata ’s transformation function receives the annotation.
|
2015-11-02 15:09:53 -05:00 |
|
Rob Rix
|
5aef08e4c5
|
Paramorphism over Free .
|
2015-11-02 14:33:02 -05:00 |
|
Rob Rix
|
3d5b0115b2
|
Extract Patch stringification into a separate function.
|
2015-11-02 14:21:34 -05:00 |
|
Rob Rix
|
a7dec6be3b
|
Use the Diff typealias.
|
2015-11-02 14:19:10 -05:00 |
|
Rob Rix
|
b1f1e29c13
|
Add a typealias for diffs.
|
2015-11-02 14:18:30 -05:00 |
|
Rob Rix
|
389636ffbc
|
Stub in printing of patches.
|
2015-11-02 14:14:19 -05:00 |
|
Rob Rix
|
c14a46b96f
|
unified takes before/after strings.
|
2015-11-02 14:08:20 -05:00 |
|
Rob Rix
|
683f6557ac
|
Stub in a function which pretty-prints unified diffs.
|
2015-11-02 14:04:48 -05:00 |
|
Rob Rix
|
bbce3bc4e3
|
Add the --unified flag (temporarily at least).
|
2015-11-02 13:21:10 -05:00 |
|
Rob Rix
|
e4310be948
|
Only compute the JSON &c. for split diffs.
|
2015-11-02 13:20:42 -05:00 |
|
Rob Rix
|
ec87b3b17f
|
Remove the rest property.
|
2015-11-02 13:07:33 -05:00 |
|
Rob Rix
|
dc4b9188f1
|
Return the first output we find.
|
2015-11-02 13:07:24 -05:00 |
|
Rob Rix
|
202bc2b31b
|
We’ll always have a pair of sources.
|
2015-11-02 13:06:23 -05:00 |
|
Rob Rix
|
b9f739844f
|
Arguments are expected to contain pairs of sources.
|
2015-11-02 13:04:48 -05:00 |
|
Rob Rix
|
e766a97995
|
Default to split diffs in the parser.
|
2015-11-02 12:57:41 -05:00 |
|
Rob Rix
|
39fbf3c828
|
Don’t pass the debug document versioning parameter.
|
2015-11-02 12:51:59 -05:00 |
|
Rob Rix
|
ebaa40b587
|
Ignore the first path.
|
2015-11-02 12:50:34 -05:00 |
|
Rob Rix
|
6d2729944d
|
Use the parser to get our sources out.
|
2015-11-02 12:48:21 -05:00 |
|
Rob Rix
|
58041d7b6e
|
Bump Stream for a bump to Either.
|
2015-11-02 12:46:02 -05:00 |
|
Rob Rix
|
d5e480a1c9
|
Compute the effective output to use.
|
2015-11-02 12:07:38 -05:00 |
|