Rob Rix
|
08c2c87fe0
|
Explicitly strictify Range’s fields.
|
2017-06-24 10:38:11 -04:00 |
|
Rob Rix
|
0d67e6acc9
|
🔥 a redundant GHC flag.
|
2017-06-24 10:37:39 -04:00 |
|
Rob Rix
|
7575c0b559
|
Explicitly list the exports for Data.Blob.
|
2017-06-24 10:37:17 -04:00 |
|
Rob Rix
|
d720532537
|
🔥 idOrEmptyBlob.
|
2017-06-24 10:37:01 -04:00 |
|
Rob Rix
|
a106d27eb9
|
Rename Source.length to sourceLength.
|
2017-06-24 10:32:26 -04:00 |
|
Rob Rix
|
2cc9f28e37
|
Rename Source.null to nullSource.
|
2017-06-24 10:28:39 -04:00 |
|
Rob Rix
|
0979106e50
|
🔥 Data.Source.empty.
|
2017-06-24 10:24:35 -04:00 |
|
Rob Rix
|
8e3d3cb1e1
|
🔥 a redundant space.
|
2017-06-24 10:23:48 -04:00 |
|
Rob Rix
|
0d1967edb3
|
Rename the blob fields.
|
2017-06-24 10:21:54 -04:00 |
|
Rob Rix
|
bed2c473b2
|
Rename SourceBlob to Blob.
|
2017-06-24 10:15:31 -04:00 |
|
Rob Rix
|
fc51c92425
|
Move SourceBlob into Data.Blob.
|
2017-06-24 10:09:50 -04:00 |
|
Rob Rix
|
84c7029dd8
|
Stub in a Blob module.
|
2017-06-24 10:00:40 -04:00 |
|
Rob Rix
|
fc09d74b73
|
Rename the Source module to Data.Source.
|
2017-06-24 09:59:41 -04:00 |
|
Rob Rix
|
1edc6a2718
|
Rename the Range module to Data.Range.
|
2017-06-24 09:46:28 -04:00 |
|
Rob Rix
|
6e7122e09a
|
Rename the SourceSpan module to Data.Span.
|
2017-06-24 09:41:51 -04:00 |
|
Rob Rix
|
4097d4bfc0
|
Rename SourceSpan to Span and SourcePos to Pos.
|
2017-06-24 09:30:34 -04:00 |
|
Rob Rix
|
c2d835e43a
|
Compute Markdown ranges within the known line ranges.
|
2017-06-23 19:30:02 -04:00 |
|
Rob Rix
|
4ee9ff6332
|
Define a SourceSpan -> Range computation parameterized by the line ranges.
|
2017-06-23 19:28:10 -04:00 |
|
Rob Rix
|
21508fb6c3
|
Resume the unqualified import of !.
|
2017-06-21 17:05:13 -04:00 |
|
Rob Rix
|
47a33a7916
|
Rename ! to !?.
|
2017-06-21 17:02:29 -04:00 |
|
Rob Rix
|
3bf95e05f4
|
Tighten up moveDownFrom/moveRightFrom.
|
2017-06-21 16:33:47 -04:00 |
|
Rob Rix
|
a084544487
|
Evaluate endpoints eagerly.
|
2017-06-21 16:07:42 -04:00 |
|
Rob Rix
|
d822c138b3
|
Use bang patterns for strictness.
|
2017-06-21 16:06:20 -04:00 |
|
Rob Rix
|
676cfaa68e
|
Try to inline !.
|
2017-06-21 16:02:56 -04:00 |
|
Rob Rix
|
4cdd66b12b
|
Mark moveDownFrom and moveRightFrom for inlining.
|
2017-06-21 15:50:56 -04:00 |
|
Rob Rix
|
9337631149
|
Safe array subscripting.
This halves our heap consumption. I don’t know how.
|
2017-06-21 15:46:36 -04:00 |
|
Rob Rix
|
139c9513d1
|
Align moveDownFrom/moveRightFrom.
|
2017-06-21 15:33:26 -04:00 |
|
Rob Rix
|
8131dfaf75
|
Move moveDownFrom/moveRightFrom/slideFrom out a scope.
|
2017-06-21 15:33:06 -04:00 |
|
Rob Rix
|
2ed1926f94
|
🔥 moveDown/moveRight.
|
2017-06-21 15:32:07 -04:00 |
|
Rob Rix
|
6947a56501
|
Use BangPatterns to denote strictness.
|
2017-06-21 15:27:08 -04:00 |
|
Rob Rix
|
9fa104fb23
|
Factor out the downward/rightward moves.
|
2017-06-21 15:04:11 -04:00 |
|
Rob Rix
|
74c301f7da
|
Define searchAlongK with guard clauses.
|
2017-06-21 15:01:49 -04:00 |
|
Rob Rix
|
922569fbe6
|
Simplify the search along k logic again.
|
2017-06-21 14:46:57 -04:00 |
|
Rob Rix
|
c4f45522af
|
🔥 getK.
|
2017-06-21 14:02:06 -04:00 |
|
Rob Rix
|
0bf24a86db
|
Force the evaluation of the state array.
|
2017-06-21 14:01:33 -04:00 |
|
Rob Rix
|
231a746d58
|
Use unary - instead of negate.
|
2017-06-21 14:00:13 -04:00 |
|
Rob Rix
|
f0147ae513
|
Prioritize the upper/right extent.
|
2017-06-21 13:58:19 -04:00 |
|
Rob Rix
|
c736d2527c
|
Revert "Simplify the search logic."
This reverts commit 008658c2bfb06da29d56278b4b48f5b76d0dd211.
|
2017-06-21 13:54:59 -04:00 |
|
Rob Rix
|
c45b5a32b0
|
Revert "Avoid refetching the bounds."
This reverts commit de7739b5cf19f93a1ae697350e3332c9a1ea3034.
|
2017-06-21 13:53:27 -04:00 |
|
Rob Rix
|
6a627255c9
|
Revert "Save the initial bounds computation."
This reverts commit e062aa06676723be75c47d376fcf66457d9d39aa.
|
2017-06-21 13:53:15 -04:00 |
|
Rob Rix
|
8a2c0bf6c2
|
Less strict evaluation of the edit script.
|
2017-06-21 13:45:16 -04:00 |
|
Rob Rix
|
d71f97d1b5
|
Save the initial bounds computation.
|
2017-06-21 13:20:25 -04:00 |
|
Rob Rix
|
c2daf3af07
|
Avoid refetching the bounds.
|
2017-06-21 13:17:44 -04:00 |
|
Rob Rix
|
e532f7d2fb
|
Simplify the search logic.
|
2017-06-21 13:13:40 -04:00 |
|
Rob Rix
|
05ec4dda63
|
k is already bounded.
|
2017-06-21 12:02:34 -04:00 |
|
Rob Rix
|
6a4148fd6f
|
s/negate/-/
|
2017-06-21 11:57:50 -04:00 |
|
Rob Rix
|
f395d5c144
|
Rename prev/next to left/up.
|
2017-06-21 11:54:39 -04:00 |
|
Rob Rix
|
51e05c39d3
|
Align moveDownFrom/moveRightFrom.
|
2017-06-21 11:52:48 -04:00 |
|
Rob Rix
|
30b9e85ed3
|
Use minimal Arrays for the state.
|
2017-06-21 11:36:26 -04:00 |
|
Rob Rix
|
0d22eabf5b
|
Store Endpoints in the state.
This uses a word of extra space but saves some time moving things around.
|
2017-06-21 11:31:38 -04:00 |
|
Rob Rix
|
e505b532a9
|
Use the inRange method to bounds check x/y.
|
2017-06-21 11:28:57 -04:00 |
|
Rob Rix
|
158b6387a3
|
🔥 redundant parens.
|
2017-06-21 11:26:43 -04:00 |
|
Rob Rix
|
7ff6e1252c
|
Don’t export Endpoint.
|
2017-06-21 11:26:25 -04:00 |
|
Rob Rix
|
25d66ede5f
|
🔥 MyersState.
|
2017-06-21 11:25:57 -04:00 |
|
Rob Rix
|
854b2b1c62
|
🔥 EditGraph.
|
2017-06-21 11:24:12 -04:00 |
|
Rob Rix
|
c4992ff950
|
🔥 runSES.
|
2017-06-21 11:20:44 -04:00 |
|
Rob Rix
|
3cbc2b3505
|
Close over the state.
|
2017-06-21 11:18:32 -04:00 |
|
Rob Rix
|
7aaff0b634
|
🔥 Diagonal.
|
2017-06-21 11:17:06 -04:00 |
|
Rob Rix
|
7eb9c6c834
|
Exhaustiveness has been restored.
|
2017-06-21 11:15:48 -04:00 |
|
Rob Rix
|
635c3fc00d
|
No need to allocate a list of envelopes.
|
2017-06-21 11:14:28 -04:00 |
|
Rob Rix
|
b1fff9bf52
|
Rename extents to endpoints.
|
2017-06-21 11:08:17 -04:00 |
|
Rob Rix
|
105cd7b1ec
|
Replace Extent with Endpoint.
|
2017-06-21 11:07:53 -04:00 |
|
Rob Rix
|
9308e7f64a
|
Search edit envelopes tail-recursively.
|
2017-06-21 10:07:59 -04:00 |
|
Rob Rix
|
2a23d86e32
|
searchAlongK produces strict results.
|
2017-06-21 09:47:39 -04:00 |
|
Josh Vera
|
6a38e8ed12
|
Merge branch 'master' into log-errors-to-stderr
|
2017-06-16 16:55:10 -04:00 |
|
joshvera
|
83394e4dae
|
remove double logging
|
2017-06-16 16:47:29 -04:00 |
|
joshvera
|
4c409f8364
|
export withSGRCode
|
2017-06-16 16:45:54 -04:00 |
|
joshvera
|
c866596955
|
print colorized errors to stderr if attached to a tty
|
2017-06-16 15:56:14 -04:00 |
|
Rob Rix
|
c63621c903
|
Merge branch 'master' into table-of-blobtents
|
2017-06-16 15:46:00 -04:00 |
|
joshvera
|
8d103fe844
|
Revert "Remove color highlighting and move other instances of putStrLn error to stderr"
This reverts commit 22d62ed464441ba0abb53f23f9d357df03ef9f52.
|
2017-06-16 14:55:47 -04:00 |
|
joshvera
|
b3e14926a1
|
Remove import
|
2017-06-16 13:50:12 -04:00 |
|
joshvera
|
ff0cbca96e
|
Remove color highlighting and move other instances of putStrLn error to stderr
|
2017-06-16 13:49:26 -04:00 |
|
joshvera
|
225a40fc7d
|
Log errors to stderr
|
2017-06-16 13:30:25 -04:00 |
|
Rob Rix
|
1bf7863186
|
Define recordSummary at the top level.
|
2017-06-16 13:00:46 -04:00 |
|
Rob Rix
|
fa74d323a9
|
tableOfContentsBy employs termTableOfContentsBy.
|
2017-06-16 12:57:23 -04:00 |
|
Rob Rix
|
b91d1754c7
|
Add a --toc flag for blobs.
|
2017-06-16 12:32:52 -04:00 |
|
Rob Rix
|
26d1b600be
|
Render Markdown blobs to ToCs.
|
2017-06-16 12:32:44 -04:00 |
|
Rob Rix
|
1bdec36140
|
Render Python blobs to ToCs.
|
2017-06-16 12:32:39 -04:00 |
|
Rob Rix
|
203d97d126
|
Define a ToC renderer.
|
2017-06-16 12:32:26 -04:00 |
|
Rob Rix
|
a9dd289aae
|
Define a ToC rendering function for parse trees.
|
2017-06-16 12:26:14 -04:00 |
|
Rob Rix
|
87082918a4
|
Return term ToCs without a wrapping Entry.
|
2017-06-16 12:25:20 -04:00 |
|
Rob Rix
|
8fdd1bdf0d
|
Define a function computing the table of contents for a term.
|
2017-06-16 12:21:40 -04:00 |
|
Rob Rix
|
8941b23246
|
🔥 the ParseArguments' wrappers.
|
2017-06-16 12:09:22 -04:00 |
|
Rob Rix
|
7c5ba48e2f
|
🔥 the DiffArguments' wrappers.
|
2017-06-16 12:06:27 -04:00 |
|
Rob Rix
|
e392ac01da
|
Rename renderToC to renderToCDiff
|
2017-06-16 12:03:39 -04:00 |
|
Rob Rix
|
8a7f8fcd8c
|
Merge branch 'master' into single-method-generically-derived-typeclasses
|
2017-06-16 11:16:50 -04:00 |
|
Rob Rix
|
e11b56127f
|
Take the range of headings’ children instead of the whole heading.
We don’t want to include the ## in a section entry, so we union the ranges of the children (if any).
|
2017-06-16 10:59:23 -04:00 |
|
Rob Rix
|
185e1ffa19
|
Define gliftShowList as a function, not a method.
|
2017-06-15 18:26:24 -04:00 |
|
Rob Rix
|
04cffd7bb3
|
Define galign as a function, not a method.
|
2017-06-15 18:24:02 -04:00 |
|
Rob Rix
|
2dfd3322a2
|
Merge branch 'master' into optimize-for-large-nested-branches
|
2017-06-15 11:02:00 -04:00 |
|
Rob Rix
|
60d822f9bc
|
Use a strict & partially unpacked structure for mapping terms.
|
2017-06-15 10:10:48 -04:00 |
|
Rob Rix
|
2b46a7a347
|
Reverse the generated lists.
|
2017-06-15 10:04:48 -04:00 |
|
Rob Rix
|
1f4eb8e475
|
Avoid the indirection through Maybe.
|
2017-06-15 09:44:09 -04:00 |
|
Rob Rix
|
b5cb522d62
|
Unpack a few fields.
|
2017-06-15 09:36:04 -04:00 |
|
Rob Rix
|
7e05cec95f
|
Unbox feature vectors.
|
2017-06-15 09:20:31 -04:00 |
|
Rob Rix
|
c12a2465a5
|
RWS employs strict state.
|
2017-06-15 09:10:58 -04:00 |
|
Rob Rix
|
e15f5ad7ab
|
Fold strictly.
|
2017-06-15 08:57:07 -04:00 |
|
Rob Rix
|
11859c9b51
|
Generate the lists of terms & diffs purely.
|
2017-06-15 08:55:23 -04:00 |
|
Rob Rix
|
655fab9277
|
Implement RWS directly.
|
2017-06-15 08:46:40 -04:00 |
|
Rob Rix
|
1aba30158b
|
Re-export the whole module.
|
2017-06-15 08:32:50 -04:00 |
|