Rob Rix
|
28d66524bf
|
Use joinWithSeparator.
|
2015-09-28 22:50:59 -04:00 |
|
Rob Rix
|
e6133ac036
|
Implement joinWithSeparator in the extension.
|
2015-09-28 22:49:41 -04:00 |
|
Rob Rix
|
fa763cbccc
|
Use the fold extension method.
|
2015-09-28 22:48:13 -04:00 |
|
Rob Rix
|
ca3f07d76f
|
Add an extension to SequenceType for folding sequences of docs.
|
2015-09-28 22:47:02 -04:00 |
|
Rob Rix
|
f6cb4341a3
|
Rename some parameters that got caught by find/replace.
|
2015-09-28 22:46:35 -04:00 |
|
Rob Rix
|
5fbc3b5102
|
Avoid extra spaces in comma-separated lists.
|
2015-09-28 22:41:51 -04:00 |
|
Rob Rix
|
f4f5ad1e86
|
Rename DOC to Doc.
|
2015-09-28 22:36:22 -04:00 |
|
Rob Rix
|
f00eebca59
|
DOC is CustomDocConvertible.
|
2015-09-28 22:33:25 -04:00 |
|
Rob Rix
|
331999076c
|
DOC is Equatable.
|
2015-09-28 22:33:18 -04:00 |
|
Rob Rix
|
060216cff4
|
Equality of DOCs.
|
2015-09-28 22:30:56 -04:00 |
|
Rob Rix
|
f42dc8dafe
|
Rename Doc to Layout.
|
2015-09-28 22:28:37 -04:00 |
|
Rob Rix
|
c6cedbc751
|
Formatting.
|
2015-09-28 22:27:46 -04:00 |
|
Rob Rix
|
b79bbfad62
|
Abbreviate some uses of doc a little.
|
2015-09-28 22:26:37 -04:00 |
|
Rob Rix
|
425e6bd8f9
|
better is a static function.
|
2015-09-28 22:23:23 -04:00 |
|
Rob Rix
|
11ea7c6f17
|
Rename some parameters.
|
2015-09-28 22:22:41 -04:00 |
|
Rob Rix
|
810d562424
|
Replace be with an initializer.
|
2015-09-28 22:22:13 -04:00 |
|
Rob Rix
|
d8be60d842
|
Rename be ’s parameters.
|
2015-09-28 22:17:06 -04:00 |
|
Rob Rix
|
749fe83e81
|
Rename the parameter to placed .
|
2015-09-28 22:17:00 -04:00 |
|
Rob Rix
|
6d16f3924d
|
best is a method.
|
2015-09-28 22:16:19 -04:00 |
|
Rob Rix
|
1829404979
|
fits is a method.
|
2015-09-28 22:12:08 -04:00 |
|
Rob Rix
|
9928fdaa77
|
Make pretty a method on DOC.
|
2015-09-28 17:13:10 -04:00 |
|
Rob Rix
|
2ef4ca02a1
|
Extract pretty from the extension.
|
2015-09-28 17:10:12 -04:00 |
|
Rob Rix
|
d3b27cfba4
|
Add a DOC type which constructs Doc.
Following Wadler.
|
2015-09-28 17:06:52 -04:00 |
|
Rob Rix
|
0c8303f27b
|
Add a constructor for single-element Streams.
|
2015-09-28 17:06:01 -04:00 |
|
Rob Rix
|
119fdaed78
|
Add Doc operators.
|
2015-09-28 17:05:36 -04:00 |
|
Rob Rix
|
a90e508a8e
|
Merge pull request #33 from github/sourcekitten
[WIP] Extract Swift document structure using SourceKitten.
|
2015-09-28 14:29:13 -04:00 |
|
Rob Rix
|
9147dd72db
|
Add a test of SES over slightly longer sequences to demonstrate the performance problem.
|
2015-09-28 14:28:36 -04:00 |
|
Rob Rix
|
a7ea2ae201
|
Avoid recomputing the magnitudes.
|
2015-09-28 14:21:13 -04:00 |
|
Rob Rix
|
b43a5eaf26
|
Revert "Diff using Vertex."
This reverts commit 881436e01d381b404c12e9c63a8634d6110d251a.
|
2015-09-28 14:17:55 -04:00 |
|
Rob Rix
|
7237ecd7e4
|
Diff using Vertex.
|
2015-09-28 14:17:48 -04:00 |
|
Rob Rix
|
b1a3c8046e
|
Vertex emptiness.
|
2015-09-28 12:09:43 -04:00 |
|
Rob Rix
|
1a6f6b588b
|
Add a Fibonacci stream to the tests.
|
2015-09-28 10:29:31 -04:00 |
|
Rob Rix
|
48bee808f6
|
Correct take ’s semantics.
|
2015-09-28 10:28:44 -04:00 |
|
Rob Rix
|
d110a149dc
|
Taking of n values from streams.
|
2015-09-28 10:02:31 -04:00 |
|
Rob Rix
|
b97e2e4833
|
Test Vertex construction.
|
2015-09-28 09:55:04 -04:00 |
|
Rob Rix
|
4a16b06e92
|
Correct bogus equality tests.
|
2015-09-28 09:54:44 -04:00 |
|
Rob Rix
|
1a44c5ee7a
|
Correct the inversion of alternating rows.
|
2015-09-25 18:50:59 -04:00 |
|
Rob Rix
|
da12af7313
|
Stream zipping.
|
2015-09-25 13:57:35 -04:00 |
|
Rob Rix
|
00f1daa61a
|
Construct vertices in row-major order.
|
2015-09-25 12:52:59 -04:00 |
|
Rob Rix
|
a0edc9fe49
|
Vertex is CustomStringConvertible.
|
2015-09-25 12:45:10 -04:00 |
|
Rob Rix
|
18bcad0165
|
Vertex is CustomDebugStringConvertible.
|
2015-09-25 12:44:20 -04:00 |
|
Rob Rix
|
3dc89059ac
|
Avoid an excess map.
|
2015-09-25 12:43:54 -04:00 |
|
Rob Rix
|
98e66acdbf
|
Row-/column-major streams of vertices.
|
2015-09-25 12:38:11 -04:00 |
|
Rob Rix
|
652d1f9db4
|
Add row/column implementations back using Stream.unfold.
|
2015-09-25 12:37:58 -04:00 |
|
Rob Rix
|
21f3bc9dcc
|
Xcode did not delete this before, apparently.
|
2015-09-25 12:37:42 -04:00 |
|
Rob Rix
|
39c46edeb9
|
Implement the eliminators with analysis.
|
2015-09-25 12:37:08 -04:00 |
|
Rob Rix
|
24bc2610ff
|
Add a case analysis method.
|
2015-09-25 12:36:11 -04:00 |
|
Rob Rix
|
0a88c407e5
|
Construct streams with unfold.
|
2015-09-25 12:22:31 -04:00 |
|
Rob Rix
|
8178904a36
|
Generalize Vertex construction to arbitrary sequences.
|
2015-09-25 11:57:53 -04:00 |
|
Rob Rix
|
ece5c942d5
|
Memo can print itself.
|
2015-09-25 11:57:28 -04:00 |
|