Rob Rix
|
9a98450cfe
|
Merge branch 'patch-constructors-on-diff' into interpreter
|
2015-10-15 11:23:18 -04:00 |
|
Rob Rix
|
0b916807a2
|
Use the patch constructors in recursive evaluation.
|
2015-10-15 11:21:23 -04:00 |
|
Rob Rix
|
d74e4fb231
|
Missed a couple of cases in SES.
|
2015-10-15 11:20:41 -04:00 |
|
Rob Rix
|
eda4ece5a8
|
Use the patch constructors in dictionary diffing.
|
2015-10-15 11:20:07 -04:00 |
|
Rob Rix
|
fed0d91d30
|
Use the patch constructors in SES.
|
2015-10-15 11:19:14 -04:00 |
|
Rob Rix
|
298a37c444
|
Section header for patch construction.
|
2015-10-15 11:18:16 -04:00 |
|
Rob Rix
|
6ee73cca06
|
We don’t need Cofree terms to construct patches.
|
2015-10-15 11:18:06 -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
|
9e80e0c903
|
Add a Delete constructor to Free when used as a diff.
|
2015-10-15 11:11:06 -04:00 |
|
Rob Rix
|
ce633f555a
|
Add an Insert constructor to Free when used as a diff.
|
2015-10-15 11:10:35 -04:00 |
|
Rob Rix
|
8366dc752a
|
Add a Replace constructor to Free when used as a Diff.
|
2015-10-15 11:10:16 -04:00 |
|
Rob Rix
|
787681eafc
|
Construct an algorithm.
|
2015-10-15 11:07:35 -04:00 |
|
Rob Rix
|
98d333d721
|
Test equality, otherwise replace.
|
2015-10-15 11:04:37 -04:00 |
|
Rob Rix
|
6f71a42509
|
Running takes a pair of Terms.
|
2015-10-15 11:03:15 -04:00 |
|
Rob Rix
|
0cedf87540
|
Interpreter has a Diff typealias.
|
2015-10-15 11:01:35 -04:00 |
|
Rob Rix
|
a9f5075d3e
|
Interpreter has an equality function.
|
2015-10-15 11:00:49 -04:00 |
|
Rob Rix
|
22cb1e00d5
|
Abstract Interpreter over a TermType.
|
2015-10-15 11:00:27 -04:00 |
|
Rob Rix
|
1a4151b2a9
|
Stub in running.
|
2015-10-15 10:58:57 -04:00 |
|
Rob Rix
|
28c5fb81a2
|
Rename B to Result.
|
2015-10-15 10:49:39 -04:00 |
|
Rob Rix
|
30e9ac9106
|
Stub in docs for Interpreter .
|
2015-10-15 10:45:32 -04:00 |
|
Rob Rix
|
6a955d5e88
|
Stub in Interpreter .
|
2015-10-15 10:45:11 -04:00 |
|
Rob Rix
|
a7192afc47
|
Merge branch 'patch-costs-are-proportional-to-the-size-of-their-trees' into interpreter
|
2015-10-15 10:42:02 -04:00 |
|
Rob Rix
|
9789cbab9d
|
Merge branch 'restrict-comparisons-by-category' into interpreter
|
2015-10-15 10:41:53 -04:00 |
|
Rob Rix
|
dfa34aa13c
|
Merge branch 'master' into patch-costs-are-proportional-to-the-size-of-their-trees
|
2015-10-15 09:48:15 -04:00 |
|
Rob Rix
|
260a317194
|
Merge branch 'master' into restrict-comparisons-by-category
Conflicts:
prototype/Doubt.xcodeproj/project.pbxproj
|
2015-10-15 09:47:49 -04:00 |
|
Rob Rix
|
e635668719
|
Merge pull request #116 from github/remove-hash
Remove Hash
|
2015-10-15 09:46:03 -04:00 |
|
Rob Rix
|
48234b71c2
|
Remove Hash.
|
2015-10-15 09:44:40 -04:00 |
|
Rob Rix
|
77a32f9e8d
|
Remove Patch hashing.
|
2015-10-15 09:44:36 -04:00 |
|
Rob Rix
|
f30d2d609a
|
Remove Syntax hashing.
|
2015-10-15 09:43:51 -04:00 |
|
Rob Rix
|
1cbc04100d
|
Remove Free hashing.
|
2015-10-15 09:43:27 -04:00 |
|
Rob Rix
|
8b5a269d5e
|
Remove Cofree hashing.
|
2015-10-15 09:43:23 -04:00 |
|
Rob Rix
|
db6d485f82
|
Merge pull request #115 from github/remove-category
Remove Category.
|
2015-10-15 09:40:47 -04:00 |
|
Rob Rix
|
9ac09dea2c
|
Remove Category.
|
2015-10-15 09:40:36 -04:00 |
|
Rob Rix
|
605784965f
|
Merge pull request #114 from github/remove-info
Remove Info.
|
2015-10-15 09:39:52 -04:00 |
|
Rob Rix
|
6fcfed8f37
|
Remove Info.
|
2015-10-15 09:39:20 -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
|
f0d5e1c05d
|
This got pulled in twice due to a cherry-pick followed by a merge.
I didn’t know that was even possible.
|
2015-10-15 09:29:26 -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
|
7d5bbe7065
|
Merge pull request #113 from github/remove-fix
Remove Fix<A>
|
2015-10-15 09:26:37 -04:00 |
|
Rob Rix
|
59947a6581
|
Rename TermType.out to TermType.unwrap.
|
2015-10-15 09:18:55 -04:00 |
|
Rob Rix
|
cb5dde7bb1
|
Remove Fix.
|
2015-10-15 09:17:55 -04:00 |
|
Rob Rix
|
3d8027b6a1
|
Fix is no longer a TermType.
|
2015-10-15 09:17:40 -04:00 |
|
Rob Rix
|
3763d7354f
|
Remove the constrained extension providing JSON from diffs when their terms are Fix<A>.
This was not easy to reproduce with Cofree because you can’t introduce
a type variable to constrain the annotation to.
|
2015-10-15 09:16:49 -04:00 |
|
Rob Rix
|
dd48510b65
|
Original terms can be recovered without annotations.
|
2015-10-15 09:12:34 -04:00 |
|
Rob Rix
|
3356a11805
|
Remove the redundant Free/Fix construction.
This was handled by Free/TermType construction.
|
2015-10-15 09:09:58 -04:00 |
|
Rob Rix
|
89720c8e65
|
Test SES over Cofree terms.
|
2015-10-15 09:08:30 -04:00 |
|
Rob Rix
|
adca66f66c
|
Define parameterized equality over TermType.
|
2015-10-15 09:05:40 -04:00 |
|
Rob Rix
|
a40ae08ac5
|
Correct a comment.
|
2015-10-15 09:01:07 -04:00 |
|
Rob Rix
|
18d19173c0
|
Remove the Fix → Cofree constructor.
|
2015-10-15 08:58:48 -04:00 |
|