Rob Rix
|
d413f24e57
|
Delay the arbitrary sub-term.
|
2015-10-16 15:17:47 -04:00 |
|
Rob Rix
|
c9bc15bcc9
|
Revert "Add a delay combinator."
This reverts commit 2feeac9065de48f6e5cb412752a6a8e4d2fcf5ca.
|
2015-10-16 15:17:05 -04:00 |
|
Rob Rix
|
0622a984dc
|
Delay recurrence.
Inlined because Swift.
|
2015-10-16 15:17:00 -04:00 |
|
Rob Rix
|
989a2d7319
|
Add a delay combinator.
|
2015-10-16 15:12:08 -04:00 |
|
Rob Rix
|
e6ac782e84
|
Implement the computation of arbitrary ranged terms.
|
2015-10-16 15:06:27 -04:00 |
|
Rob Rix
|
541897aa43
|
Arrange unannotated terms.
|
2015-10-16 15:05:01 -04:00 |
|
Rob Rix
|
5beccbdca2
|
Compute the source of unannotated terms.
|
2015-10-16 14:40:18 -04:00 |
|
Rob Rix
|
4a24c3f872
|
Generate arbitrary keyed terms.
|
2015-10-16 14:30:53 -04:00 |
|
Rob Rix
|
cc1f0a07a3
|
Rename the branch case to indexed.
|
2015-10-16 14:26:58 -04:00 |
|
Rob Rix
|
c249f1de8a
|
Construct arbitrary unannotated branches.
|
2015-10-16 14:26:46 -04:00 |
|
Rob Rix
|
6a4e1dca39
|
Construct arbitrary unannotated leaves.
|
2015-10-16 14:26:32 -04:00 |
|
Rob Rix
|
412ea9cc04
|
Add unannotated terms.
|
2015-10-16 14:24:17 -04:00 |
|
Rob Rix
|
570d4efa5d
|
Generate arbitrary leaves.
|
2015-10-16 13:23:38 -04:00 |
|
Rob Rix
|
a3ef491de4
|
Stub in Arbitrary conformance.
|
2015-10-16 12:28:49 -04:00 |
|
Rob Rix
|
c415a6aafd
|
Add a RangedTerm struct wrapping ranged terms.
|
2015-10-16 12:28:16 -04:00 |
|
Josh Vera
|
e6ec91cd64
|
Merge pull request #120 from github/patch-constructors-on-diff
Patch constructors on diff
|
2015-10-15 15:39:14 -04:00 |
|
Rob Rix
|
b453319db4
|
Merge branch 'master' into restrict-comparisons-by-category
|
2015-10-15 14:14:34 -04:00 |
|
Rob Rix
|
cd7e67c30d
|
Remove the convenience functions.
|
2015-10-15 11:16:27 -04:00 |
|
Rob Rix
|
b4ea7b70bc
|
Use the Diff/Patch constructors in the tests.
|
2015-10-15 11:16:21 -04:00 |
|
Rob Rix
|
9cc446b4ea
|
Merge branch 'master' into patch-costs-are-proportional-to-the-size-of-their-trees
Conflicts:
prototype/Doubt/Patch.swift
prototype/Doubt/TermType.swift
prototype/DoubtTests/SESTests.swift
|
2015-10-15 09:32:36 -04:00 |
|
Rob Rix
|
c022085919
|
Merge branch 'master' into restrict-comparisons-by-category
Conflicts:
prototype/Doubt.xcodeproj/project.pbxproj
prototype/Doubt/Fix.swift
|
2015-10-15 09:28:21 -04:00 |
|
Rob Rix
|
89720c8e65
|
Test SES over Cofree terms.
|
2015-10-15 09:08:30 -04:00 |
|
Rob Rix
|
eba7c9bfbd
|
Remove DocTests.swift .
|
2015-10-15 08:54:04 -04:00 |
|
Rob Rix
|
e582f28972
|
Charge a constant cost for the tests.
|
2015-10-14 18:51:52 -04:00 |
|
Rob Rix
|
5fccc3586c
|
Test that uncategorized terms are unrestricted.
|
2015-10-14 17:51:40 -04:00 |
|
Rob Rix
|
c75b2c134e
|
Correct the test of disjoint categorization to assign unique categories to each term.
|
2015-10-14 17:51:31 -04:00 |
|
Rob Rix
|
2aef2114c3
|
Test that comparisons are unrestricted by default.
|
2015-10-14 17:47:07 -04:00 |
|
Rob Rix
|
1134f7a9e9
|
Add a fixture for an unrestricted diff.
|
2015-10-14 17:46:50 -04:00 |
|
Rob Rix
|
90864e397b
|
Avoid an annotation.
|
2015-10-14 17:46:41 -04:00 |
|
Rob Rix
|
0cb72943b1
|
Rename the test case.
|
2015-10-14 17:44:19 -04:00 |
|
Rob Rix
|
d9e7798dde
|
Test that comparisons of disjoint-categorized terms are restricted.
|
2015-10-14 17:41:51 -04:00 |
|
Rob Rix
|
1f23ec9e47
|
Extract the diff into a private global.
|
2015-10-14 17:39:53 -04:00 |
|
Rob Rix
|
7a03f09fe9
|
Test that comparisons are restricted by nil returns from recur .
|
2015-10-14 16:43:08 -04:00 |
|
Rob Rix
|
ed10ec1257
|
Write the fixtures using the typealias.
|
2015-10-14 16:10:23 -04:00 |
|
Rob Rix
|
35617fee70
|
Add typealiases for Diff and Term.
|
2015-10-14 16:09:58 -04:00 |
|
Rob Rix
|
ff559845d8
|
Add a couple of fixtures.
|
2015-10-14 16:07:07 -04:00 |
|
Rob Rix
|
0c78e344ad
|
Stub in a test suite for Algorithm.
|
2015-10-14 15:57:58 -04:00 |
|
Rob Rix
|
b8f8953f1c
|
Return the identity diff when equal.
|
2015-10-14 12:29:40 -04:00 |
|
Rob Rix
|
517c87c303
|
Revert "Revert "SES does not take an equality test.""
This reverts commit bb73f6eac2b59599607369767e9e221e7e5e0f15.
|
2015-10-14 12:28:45 -04:00 |
|
Rob Rix
|
a7f4d91d56
|
Revert "SES does not take an equality test."
This reverts commit 1db8bdf82c85a490188882b810cd9c516e4f210e.
Conflicts:
prototype/Doubt/SES.swift
prototype/DoubtTests/SESTests.swift
|
2015-10-14 12:25:38 -04:00 |
|
Rob Rix
|
8d4a91d3a9
|
Merge branch 'parameterize-algorithm-evaluation-by-comparison-restriction' into generalize-patch
Conflicts:
prototype/Doubt/SES.swift
prototype/DoubtTests/SESTests.swift
|
2015-10-14 12:24:04 -04:00 |
|
Rob Rix
|
6e5335c915
|
SES tests operate over strings.
|
2015-10-14 12:19:38 -04:00 |
|
Rob Rix
|
34258b98b8
|
Generalize Patch from Fix<A> to A .
|
2015-10-14 12:17:39 -04:00 |
|
Rob Rix
|
e33f733d83
|
SES does not take an equality test.
|
2015-10-14 12:14:15 -04:00 |
|
Rob Rix
|
a15687dca3
|
Correct a test fixture.
I am unbelievably glad to be rid of this.
|
2015-10-13 18:05:28 -04:00 |
|
Rob Rix
|
5f395c55cf
|
Disallow diagonal edges.
This technically still allows (in fact, requires) them for equal
elements, but it will never construct `Patch.Replace`.
|
2015-10-13 18:05:11 -04:00 |
|
Rob Rix
|
290ff8853c
|
SESTests uses the constructor conveniences.
|
2015-10-09 18:09:15 -04:00 |
|
Rob Rix
|
3b8b10a4a2
|
Test that empty docs have empty layout.
|
2015-10-07 17:22:53 -04:00 |
|
Rob Rix
|
804e831705
|
🔥 SwiftTests.
This was not really testing anything anyway.
|
2015-10-07 17:20:02 -04:00 |
|
Rob Rix
|
fb41713906
|
Replace roll() with Diff() .
|
2015-10-06 17:48:17 -04:00 |
|