Rob Rix
|
880b660f6f
|
Revert "Define maybeCost in Info."
This reverts commit 28b097f2f37abe6ee155f19b89dad86009997b6e.
|
2016-07-22 10:02:27 -04:00 |
|
Rob Rix
|
7a4585d621
|
Revert "Use Info’s maybeCost definition."
This reverts commit 881e56b48bf186e996ff740412290f4786852e44.
|
2016-07-22 10:02:24 -04:00 |
|
Rob Rix
|
8c7ba2dadb
|
Revert "Generalize diffCostWithCachedTermCosts to work without caches."
This reverts commit 793ebe0059dadc656c880ef82cd4808ec1a75cc3.
|
2016-07-22 10:02:15 -04:00 |
|
Rob Rix
|
7be312197d
|
Revert "Generalize diffFiles, textDiff, and printDiff to not require Cost fields."
This reverts commit 9e9e368520263ab6c7c00dd79ed10001a6886f95.
|
2016-07-22 10:02:12 -04:00 |
|
Rob Rix
|
d7939a54f3
|
Generalize diffFiles, textDiff, and printDiff to not require Cost fields.
|
2016-07-21 19:07:55 -04:00 |
|
Rob Rix
|
39e4b26bb9
|
Generalize diffCostWithCachedTermCosts to work without caches.
|
2016-07-21 19:06:48 -04:00 |
|
Rob Rix
|
be5748bde1
|
Use toValue.
🎩 @joshvera.
|
2016-07-21 19:06:17 -04:00 |
|
Rob Rix
|
bd69c14c77
|
Use Info’s maybeCost definition.
|
2016-07-21 19:06:03 -04:00 |
|
Rob Rix
|
a96a520557
|
Define maybeCost in Info.
|
2016-07-21 19:05:27 -04:00 |
|
Rob Rix
|
fa0bcecdd7
|
Update costs.
|
2016-07-21 18:59:57 -04:00 |
|
Rob Rix
|
8bc7c4564d
|
Add a function to update fields.
|
2016-07-21 18:54:02 -04:00 |
|
Rob Rix
|
318d001512
|
Add a function to update cons records.
|
2016-07-21 18:53:56 -04:00 |
|
Rob Rix
|
590509aaf8
|
🔥 the Cost constraints.
|
2016-07-21 17:27:16 -04:00 |
|
Rob Rix
|
e3eeb617a6
|
Annotate with costs when any are provided.
|
2016-07-21 17:26:51 -04:00 |
|
Rob Rix
|
107077c493
|
Add a maybeGetField function over Records.
|
2016-07-21 17:26:03 -04:00 |
|
Rob Rix
|
e50b1a5f61
|
Constrain record fields to be Typeable.
|
2016-07-21 17:25:54 -04:00 |
|
Rob Rix
|
a71f9f05cc
|
Simplify the PatchOutputSpec annotations.
Also applies some HLint advice.
|
2016-07-21 17:21:13 -04:00 |
|
Rob Rix
|
2ed1c4152d
|
Derive some Typeable instances.
|
2016-07-21 17:17:35 -04:00 |
|
Rob Rix
|
864e8a4539
|
DRY up textDiff.
|
2016-07-21 15:34:14 -04:00 |
|
Rob Rix
|
5963624554
|
Merge branch 'generalize-rws-over-the-functor' into precompute-p,q-grams
# Conflicts:
# src/DiffOutput.hs
|
2016-07-21 15:32:00 -04:00 |
|
Rob Rix
|
0016bb92ea
|
Merge branch 'master' into generalize-rws-over-the-functor
|
2016-07-21 11:49:55 -04:00 |
|
Josh Vera
|
320a4cefef
|
Merge pull request #641 from github/🔥-diff-output-module
🔥 the DiffOutput module
|
2016-07-21 11:48:02 -04:00 |
|
joshvera
|
7cadd91ca3
|
Merge remote-tracking branch 'origin/master' into 🔥-diff-output-module
|
2016-07-21 11:46:06 -04:00 |
|
Josh Vera
|
43e63ae6e6
|
Merge pull request #638 from github/🔥-the-size-field
🔥 the size field
|
2016-07-21 11:18:35 -04:00 |
|
Rob Rix
|
e8316dece8
|
Break down leaves by word in the parser.
|
2016-07-15 18:16:17 -04:00 |
|
Rob Rix
|
1127fd2672
|
🔥 the ad hoc computation of term costs.
|
2016-07-15 17:49:27 -04:00 |
|
Rob Rix
|
9d495a2936
|
Decorate the spec’s parser.
|
2016-07-15 17:49:09 -04:00 |
|
Rob Rix
|
2f72c6f011
|
Redefine termCost as a decorator.
|
2016-07-15 17:45:48 -04:00 |
|
Rob Rix
|
ac3ddea7c1
|
Add the missing TypeOperators pragma.
|
2016-07-15 17:45:26 -04:00 |
|
Rob Rix
|
1b0e1c5665
|
Add a function to decorate a parser’s output.
|
2016-07-15 17:44:14 -04:00 |
|
Rob Rix
|
554b04f611
|
Placate hlint.
|
2016-07-15 17:43:59 -04:00 |
|
Rob Rix
|
b975559c6d
|
Parameterize the Parser type synonym by functor and annotation.
|
2016-07-15 17:43:07 -04:00 |
|
Rob Rix
|
96c728a9ca
|
Add a function to decorate a term with the assistance of a decorating function.
|
2016-07-15 17:31:19 -04:00 |
|
Rob Rix
|
30ef58c6fd
|
Add a function to compute the cost of a term.
|
2016-07-15 17:24:02 -04:00 |
|
Rob Rix
|
3eb2e97284
|
breakDownLeavesByWord doesn’t rewrite the cost.
|
2016-07-15 16:50:21 -04:00 |
|
Rob Rix
|
13205aa009
|
Pattern match inline.
|
2016-07-15 16:11:36 -04:00 |
|
Rob Rix
|
c92ce1b6fd
|
printDiff calls into textDiff.
|
2016-07-15 16:05:17 -04:00 |
|
Rob Rix
|
3b61b5c5be
|
Rearrange printDiff to apply the --output flag in all cases.
|
2016-07-15 16:03:51 -04:00 |
|
Rob Rix
|
631b557823
|
🔥 DiffOutput.hs.
|
2016-07-15 16:01:43 -04:00 |
|
Rob Rix
|
48edd67a65
|
Move textDiff, truncatedDiff, and printDiff into Diffing.hs.
|
2016-07-15 16:00:39 -04:00 |
|
Rob Rix
|
05450b53bd
|
Merge branch 'generalize-rws-over-the-functor' into precompute-feature-vectors
|
2016-07-15 15:24:26 -04:00 |
|
Rob Rix
|
3794c7a437
|
Replace an obscure hylo with a clearer cata .
|
2016-07-15 15:18:51 -04:00 |
|
Rob Rix
|
ae8d744061
|
📝 rws in full.
|
2016-07-15 15:15:22 -04:00 |
|
Rob Rix
|
0337e18baf
|
Correct the documentation of rws.
|
2016-07-15 15:13:14 -04:00 |
|
Rob Rix
|
145252c8ba
|
Generalize UnmappedTerm, allowing a decidable Eq instance.
|
2016-07-15 15:12:27 -04:00 |
|
Rob Rix
|
882c4fe2ff
|
Generalize rws over arbitrary functors.
|
2016-07-15 15:05:46 -04:00 |
|
Rob Rix
|
bdb93ef44b
|
pqGrams doesn’t require Syntax.
|
2016-07-15 14:55:26 -04:00 |
|
Rob Rix
|
2d4778160f
|
We no longer rely on Hashable leaves.
|
2016-07-15 14:54:34 -04:00 |
|
Rob Rix
|
190dcfe18c
|
pqGrams doesn’t include leaf values in labels itself.
|
2016-07-15 14:49:39 -04:00 |
|
Rob Rix
|
d6bf0920bd
|
Add leaf values to the labels computed in Interpreter.
|
2016-07-15 14:49:21 -04:00 |
|