Rob Rix
|
4d75f69e73
|
Reorder the comparable test before the equal terms test.
|
2016-06-03 16:37:09 -04:00 |
|
Rob Rix
|
a43be167f6
|
Merge branch 'master' into cache-cost-on-info
|
2016-06-03 16:24:02 -04:00 |
|
Josh Vera
|
6f91b5b86a
|
Merge pull request #592 from github/construct-info-with-record-syntax
Construct Info with record syntax
|
2016-06-03 16:22:05 -04:00 |
|
Rob Rix
|
7802d4916c
|
🔥 FlexibleInstances & RecordWildCards pragmas.
|
2016-06-03 16:02:06 -04:00 |
|
Rob Rix
|
a571d9746d
|
Add RecordWildCards and FlexibleInstances to our default extensions.
|
2016-06-03 15:59:58 -04:00 |
|
Rob Rix
|
9247980114
|
Revert "Don’t change diff sizes; don’t traverse subtrees to compute cost in SES."
This reverts commit 8735e65ea2de458116db0a58621083003a9129c0.
|
2016-06-03 15:31:07 -04:00 |
|
Rob Rix
|
8b98d25642
|
Revert "Go back to taking the absolute value, even tho it’s wrong."
This reverts commit 5278cd5e686406e3d08bbdafd980d813f1f33d1f.
|
2016-06-03 15:31:02 -04:00 |
|
Rob Rix
|
410629b165
|
Go back to taking the absolute value, even tho it’s wrong.
This is still a poor approximation to the edit distance, but it’s a
better one than `sum`, and it’s still very cheap.
|
2016-06-03 15:29:28 -04:00 |
|
Rob Rix
|
ec84afcadb
|
Compare terms sans annotations.
🎩 @rewinfrey.
|
2016-06-03 15:28:15 -04:00 |
|
Rob Rix
|
0976c1e452
|
Don’t change diff sizes; don’t traverse subtrees to compute cost in SES.
|
2016-06-03 15:09:10 -04:00 |
|
Rob Rix
|
58363fc4de
|
Assign costs in lineByLineParser.
|
2016-06-03 12:49:08 -04:00 |
|
Rob Rix
|
8dd124876d
|
Assign leaf costs in breakDownLeavesByWord .
|
2016-06-03 12:48:54 -04:00 |
|
Rob Rix
|
33791e3ed6
|
Compute term costs at parse time, not in a second pass.
|
2016-06-03 12:14:06 -04:00 |
|
Rob Rix
|
02d0cd1507
|
Generalize SES over term and edit type parameters.
|
2016-06-03 09:27:33 -04:00 |
|
Rob Rix
|
bb83649c6c
|
Simplify how we compute costs in patches.
|
2016-06-03 09:12:41 -04:00 |
|
Rob Rix
|
27333b5b23
|
Extract the cached diff costs.
|
2016-06-03 03:08:09 -04:00 |
|
Rob Rix
|
f39e3df33b
|
Pass a DiffConstructor to diffTerms.
|
2016-06-03 02:59:48 -04:00 |
|
Rob Rix
|
6e256a53a5
|
Don’t bind variables we don’t use.
|
2016-06-03 02:44:12 -04:00 |
|
Rob Rix
|
0563bc58c1
|
Export the DiffConstructor type synonym.
|
2016-06-03 02:43:43 -04:00 |
|
Rob Rix
|
35327522b3
|
📝 DiffConstructor.
|
2016-06-03 02:42:27 -04:00 |
|
Rob Rix
|
9c07abcc07
|
Use a DiffConstructor to build diffs in constructAndRun & run.
|
2016-06-03 02:41:25 -04:00 |
|
Rob Rix
|
3e7784323f
|
Stub in a DiffConstructor type synonym.
|
2016-06-03 02:41:01 -04:00 |
|
Rob Rix
|
e2860055e4
|
Correct the docs of Constructor.
|
2016-06-03 02:32:03 -04:00 |
|
Rob Rix
|
a27786d226
|
Cache term costs.
|
2016-06-03 01:40:36 -04:00 |
|
Rob Rix
|
4bfa1b72c4
|
Simplify diffAt using pattern guards.
|
2016-06-02 23:40:02 -04:00 |
|
Rob Rix
|
66efabda26
|
Simplify construction of deletions/insertions.
|
2016-06-02 23:36:18 -04:00 |
|
Rob Rix
|
bcbb590b1f
|
Add a cost field to Info .
|
2016-06-02 23:34:16 -04:00 |
|
Rob Rix
|
0c05e3f29b
|
Don’t bind an unused parameter.
|
2016-06-02 23:30:01 -04:00 |
|
Rob Rix
|
f3b0cd33da
|
A Constructor takes an Info directly.
|
2016-06-02 23:06:09 -04:00 |
|
Rob Rix
|
15d110ef97
|
These, too, are singular.
|
2016-06-02 22:58:43 -04:00 |
|
Rob Rix
|
85bed9769a
|
Use record syntax to make (like a tree and) leaves.
|
2016-06-02 22:56:59 -04:00 |
|
Rob Rix
|
db19380c36
|
These are not plural.
|
2016-06-02 22:56:10 -04:00 |
|
Rob Rix
|
f2eccbb275
|
🔥 the contortionist pointfree definition of info .
|
2016-06-02 22:55:11 -04:00 |
|
Rob Rix
|
3032a7893a
|
Define assignKey with a case expression.
|
2016-06-02 22:54:02 -04:00 |
|
Rob Rix
|
42172ee5fd
|
Avoid pattern matching on Info.
|
2016-06-02 22:45:05 -04:00 |
|
Rob Rix
|
7741cee48d
|
Use RecordWildcards to clean up some uses of Info.
|
2016-06-02 22:43:47 -04:00 |
|
Rob Rix
|
9a35557c6f
|
Rephrase replaceIn using definitions in the where clause.
|
2016-06-02 22:43:25 -04:00 |
|
Rob Rix
|
67d470aac6
|
Rebuild info using record syntax.
|
2016-06-02 19:10:59 -04:00 |
|
Rob Rix
|
43757e8a61
|
🔥 Categorizable.
This reverts commit be59b0c161362baae63308478177819828be7e1b.
|
2016-06-02 19:10:41 -04:00 |
|
Josh Vera
|
e16d324763
|
Merge pull request #589 from github/add-version
Add --version | -v command line flags to semantic-git-diff and semantic-difftool
|
2016-06-02 16:01:21 -04:00 |
|
Rick Winfrey
|
83650f3060
|
Merge branch 'master' into add-version
|
2016-06-02 14:35:25 -05:00 |
|
Rick Winfrey
|
6a0fdbe776
|
Merge pull request #587 from github/quicker-range-intersection-test
Quicker range intersection test
|
2016-06-02 13:08:10 -05:00 |
|
Rob Rix
|
ee9b32181f
|
Merge branch 'master' into quicker-range-intersection-test
|
2016-06-02 14:05:12 -04:00 |
|
joshvera
|
9ada106626
|
Remove import
|
2016-06-02 13:08:04 -04:00 |
|
Rob Rix
|
0fa2a40cfb
|
🔥 some redundant parens.
|
2016-06-01 21:37:38 -04:00 |
|
Rob Rix
|
ee0bfac0a9
|
Simplify the range intersection test.
|
2016-06-01 20:52:24 -04:00 |
|
Rob Rix
|
751d2a7900
|
Merge pull request #583 from github/add-planning-meeting-notes
Add planning meeting for 06-01-2016
|
2016-06-01 19:05:41 -04:00 |
|
Rick Winfrey
|
f0ec5c651a
|
Add planning meeting for 06-01-2016
|
2016-06-01 17:28:25 -05:00 |
|
Rob Rix
|
450cca369f
|
Merge pull request #582 from github/syntax
Return an insertion or deletion diff before rendering
|
2016-06-01 18:11:46 -04:00 |
|
Rob Rix
|
16dd78d8ae
|
Merge branch 'master' into syntax
|
2016-06-01 18:00:14 -04:00 |
|