Rob Rix
|
fbd7c1f742
|
Merge branch 'master' into output-source-range-annotations-to-json
|
2015-10-19 13:18:12 -04:00 |
|
Rob Rix
|
3d85194f8c
|
Merge branch 'master' into cofree-memoizes
|
2015-10-16 16:40:59 -04:00 |
|
Rob Rix
|
b4dc1e7bf1
|
Cofree is not lazy.
|
2015-10-16 16:40:47 -04:00 |
|
Rob Rix
|
841f7017c8
|
Indirection.
|
2015-10-16 16:10:10 -04:00 |
|
Rob Rix
|
f4e462eba2
|
Cofree uses Memo to ensure that statefully-computed subtrees are “ok.”
Randomness is an effect.
|
2015-10-16 16:05:37 -04:00 |
|
Rob Rix
|
01d65a4245
|
Patches of terms annotated with ranges can produce JSON over source strings.
|
2015-10-16 11:09:30 -04:00 |
|
Rob Rix
|
8c341fc129
|
Terms annotated with ranges over a string can be printed to JSON.
|
2015-10-16 11:09:20 -04:00 |
|
Rob Rix
|
c058e81183
|
Syntax’s JSON parameter functions do not escape.
|
2015-10-16 11:09:07 -04:00 |
|
Rob Rix
|
20e5d25fbf
|
PatchType does not require construction with a Patch.
|
2015-10-16 09:30:25 -04:00 |
|
Rob Rix
|
0c786ed160
|
Use the PatchType init to delete.
|
2015-10-16 09:30:09 -04:00 |
|
Rob Rix
|
aa2cce5a39
|
Use the PatchType init to insert.
|
2015-10-16 09:29:56 -04:00 |
|
Rob Rix
|
902ce99172
|
Use the PatchType init to replace.
|
2015-10-16 09:29:43 -04:00 |
|
Rob Rix
|
bcdaff9c2c
|
PatchType requires constructors for deletions.
|
2015-10-16 09:28:45 -04:00 |
|
Rob Rix
|
64cd995e41
|
PatchType requires constructors for deletions.
|
2015-10-16 09:28:37 -04:00 |
|
Rob Rix
|
00115e422b
|
PatchType requires constructors for replacements.
|
2015-10-16 09:28:25 -04:00 |
|
Rob Rix
|
831eb1e521
|
PatchType does not require patch .
|
2015-10-16 09:26:13 -04:00 |
|
Rob Rix
|
52dc661fc9
|
Use Patch es’ inverse directly.
|
2015-10-16 09:24:12 -04:00 |
|
Rob Rix
|
1493b2938e
|
PatchType requires inverse .
|
2015-10-16 09:23:51 -04:00 |
|
Rob Rix
|
c1cb797c6f
|
Use Patch es’ state directly.
|
2015-10-16 09:23:33 -04:00 |
|
Rob Rix
|
9b15398f76
|
PatchType requires state .
|
2015-10-16 09:22:41 -04:00 |
|
Rob Rix
|
38be68d95d
|
Rename PatchConvertible to PatchType.
|
2015-10-16 09:21:41 -04:00 |
|
Rob Rix
|
fcff1d8e9f
|
Correct a section marker.
|
2015-10-16 09:20:47 -04:00 |
|
Rob Rix
|
b43badaf04
|
🔥 FreeConvertible.
|
2015-10-16 09:20:14 -04:00 |
|
Rob Rix
|
c5fe7bec46
|
What why
|
2015-10-15 18:32:43 -04:00 |
|
Rob Rix
|
90d84593c8
|
Remove Algorithm.evaluate() in all its many forms.
|
2015-10-15 18:30:16 -04:00 |
|
Rob Rix
|
792a6b6654
|
Add a convenience for summing Free s.
|
2015-10-15 18:13:22 -04:00 |
|
Rob Rix
|
5c85adaab0
|
Merge branch 'master' into interpreter
Conflicts:
prototype/Doubt/Algorithm.swift
|
2015-10-15 15:45:01 -04:00 |
|
Rob Rix
|
1690c71cb2
|
Convenience constructor for Interpreters with Categorizable annotations.
|
2015-10-15 15:43:18 -04:00 |
|
Rob Rix
|
1e53b446ab
|
Cofree conforms to CofreeType.
|
2015-10-15 15:42:39 -04:00 |
|
Rob Rix
|
522757c121
|
Replace CofreeConvertible with CofreeType.
|
2015-10-15 15:42:24 -04:00 |
|
Rob Rix
|
f8cd049280
|
Add a function from categorization functions to comparable functions.
|
2015-10-15 15:39:55 -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
|
2d21447312
|
Replaces the convenience constructor with a diff cost constructor.
|
2015-10-15 15:34:59 -04:00 |
|
Rob Rix
|
8d93a77b86
|
Add a CofreeConvertible protocol.
|
2015-10-15 15:31:51 -04:00 |
|
Rob Rix
|
24c66eb1ff
|
Convenience constructor taking a Patch cost function.
|
2015-10-15 15:28:21 -04:00 |
|
Rob Rix
|
53c78fd546
|
It’s a type.
|
2015-10-15 15:28:12 -04:00 |
|
Rob Rix
|
1b86134377
|
Difference over Patch<Term: TermType>.
|
2015-10-15 15:25:04 -04:00 |
|
Rob Rix
|
e8a67fbdb0
|
Sum over Patch<Term: TermType>.
|
2015-10-15 15:24:58 -04:00 |
|
Rob Rix
|
e5fe5f448a
|
Parameterized difference over Patch.
|
2015-10-15 15:23:51 -04:00 |
|
Rob Rix
|
45d2697c46
|
Parameterized sum over Patch.
|
2015-10-15 15:23:36 -04:00 |
|
Rob Rix
|
856abbe611
|
I don’t know.
|
2015-10-15 15:08:06 -04:00 |
|
Rob Rix
|
e5f6d1acfa
|
Add a top-down, left-to-right reduce method to Free.
|
2015-10-15 15:07:13 -04:00 |
|
Rob Rix
|
662fbe7dbc
|
Don’t require equal when the leaf type is Equatable.
|
2015-10-15 14:34:47 -04:00 |
|
Rob Rix
|
62c13aed65
|
Document run .
|
2015-10-15 14:30:14 -04:00 |
|
Rob Rix
|
5aa7b7c26a
|
Document Interpreter ’s constructor.
|
2015-10-15 14:28:28 -04:00 |
|
Rob Rix
|
98398f6fd0
|
Move the run method to the top.
|
2015-10-15 14:16:01 -04:00 |
|
Rob Rix
|
58b8fc2fe6
|
Merge branch 'master' into interpreter
|
2015-10-15 14:15:33 -04:00 |
|
Rob Rix
|
b453319db4
|
Merge branch 'master' into restrict-comparisons-by-category
|
2015-10-15 14:14:34 -04:00 |
|
Rob Rix
|
3a4f331b2e
|
Document the categorize parameter.
|
2015-10-15 14:14:29 -04:00 |
|
Rob Rix
|
a34b5a34f4
|
Document the equals parameter.
|
2015-10-15 14:12:39 -04:00 |
|