1
1
mirror of https://github.com/github/semantic.git synced 2024-12-20 13:21:59 +03:00
Commit Graph

2116 Commits

Author SHA1 Message Date
Rob Rix
b6d59ff7ef Refine leaves in the output diff. 2015-11-05 17:26:14 -05:00
Rob Rix
82b40bd043 Partial application. 2015-11-05 17:26:06 -05:00
Rob Rix
e4db8a5f14 Refine patches. 2015-11-05 17:18:56 -05:00
Rob Rix
b3ace6c533 Free is a monad. 2015-11-05 17:18:03 -05:00
Rob Rix
d66074eb0c Merge branch 'master' into refine-leaf-replacements 2015-11-05 17:11:21 -05:00
Rob Rix
e668deb9f4 Produce the appropriate diffs. 2015-11-05 17:11:09 -05:00
Rob Rix
c6ec6fa311 Add a property computing a single-element range from an index. 2015-11-05 17:10:41 -05:00
Rob Rix
ead261d459 Disallow replacements. 2015-11-05 17:00:53 -05:00
Rob Rix
7d5c3bf70c Eh don’t provide the index after all. 2015-11-05 17:00:39 -05:00
Rob Rix
21ab49a97b Allow replacements. 2015-11-05 16:56:18 -05:00
Rob Rix
e9e962dfe5 Do SES on the substrings. 2015-11-05 16:53:16 -05:00
Josh Vera
fb698f0136 Merge pull request #218 from github/generalize-ses-to-arbitrary-collection-type
Generalize SES to arbitrary CollectionTypes
2015-11-05 16:52:57 -05:00
Rob Rix
8872c67c52 Only match leaves. 2015-11-05 16:52:54 -05:00
Rob Rix
6327829f6e Replace pures. 2015-11-05 16:49:24 -05:00
Rob Rix
4d4d077e1b Stub in a leaf replacement refinement function. 2015-11-05 16:23:49 -05:00
Rob Rix
51496ab173 Pass the indices along to recur. 2015-11-05 16:22:02 -05:00
Rob Rix
7cf13342aa Merge branch 'generalize-ses-to-arbitrary-collection-type' into refine-leaf-replacements 2015-11-05 16:16:55 -05:00
Rob Rix
84ed21b1a2 Generalize SES to arbitrary CollectionType. 2015-11-05 16:14:10 -05:00
Rob Rix
ee285d79dd Don’t transpose the coordinate system. 2015-11-05 16:12:53 -05:00
Rob Rix
f4a8bcdc90 Correct the Matrix sizing. 2015-11-05 16:04:39 -05:00
Rob Rix
c0002c47e6 Use successors rather than integer addition. 2015-11-05 15:52:38 -05:00
Rob Rix
6a0068362e Subscript with the correct indices. 2015-11-05 15:51:50 -05:00
Rob Rix
217a2c5a50 Define Matrix over two ranges. 2015-11-05 15:51:15 -05:00
Rob Rix
fdfdeb0dbf SES operates over a pair of ranges. 2015-11-05 15:46:36 -05:00
Rob Rix
fc76ce05eb Matrix can be constructed with a pair of ranges. 2015-11-05 15:45:30 -05:00
Rob Rix
38686fee20 constructRowMajor operates over a pair of ranges. 2015-11-05 15:45:19 -05:00
Rob Rix
3f5812bef5 Explicitly convert the bounds to Int. 2015-11-05 15:40:33 -05:00
Josh Vera
db79154bdd Merge pull request #216 from github/weaving-a-web
Weaving a web
2015-11-05 13:23:45 -05:00
Rob Rix
91f67a41b7 Document right. 2015-11-05 12:10:42 -05:00
Rob Rix
e8c5462de1 Document left. 2015-11-05 12:10:17 -05:00
Rob Rix
9c8131e7a2 Document outOf. 2015-11-05 12:09:28 -05:00
Rob Rix
e67f0d6569 Document into. 2015-11-05 12:08:46 -05:00
Rob Rix
f4fff72814 Rename all the up labels. 2015-11-05 12:07:59 -05:00
Rob Rix
3b82364065 Rename the private var. 2015-11-05 12:06:54 -05:00
Rob Rix
ba450bf45a Rename up to outOf. 2015-11-05 12:06:39 -05:00
Rob Rix
825eaa5ac3 Rename the constructor label. 2015-11-05 12:06:04 -05:00
Rob Rix
c8576dcb88 Rename the private _down var too. 2015-11-05 12:05:43 -05:00
Rob Rix
9151d02655 Rename down to into. 2015-11-05 12:05:28 -05:00
Rob Rix
47a1e8eb0c Test that modifications can replace sub-diffs. 2015-11-05 12:02:14 -05:00
Rob Rix
7abe08d60c Comment on the coarse-grained diff. 2015-11-05 12:02:04 -05:00
Rob Rix
5a49baa039 Add a refined diff fixture. 2015-11-05 12:01:47 -05:00
Rob Rix
28437e013f Add a diff fixture. 2015-11-05 11:52:22 -05:00
Rob Rix
318a9926a2 Test that modifications preserve keys. 2015-11-05 11:50:37 -05:00
Rob Rix
7276b42d6f Test deep modifications replacing subtrees. 2015-11-05 11:49:07 -05:00
Rob Rix
d52c5ddedd Test that multiple modifications are not lost. 2015-11-05 11:46:41 -05:00
Rob Rix
b948f10dc1 Test simple updates to subtrees. 2015-11-05 11:46:01 -05:00
Rob Rix
336c2b87b2 Pass updates to keyed collections along correctly. 2015-11-05 11:45:53 -05:00
Rob Rix
917a49c520 Pass updates to collections along correctly. 2015-11-05 11:45:46 -05:00
Rob Rix
59e02988f0 Remove the obsolete unary/binary/ternary constructors. 2015-11-05 11:42:55 -05:00
Rob Rix
65c86a94d8 Use the variadic constructor for the fixed conveniences. 2015-11-05 11:42:33 -05:00