1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 14:54:16 +03:00
Commit Graph

5767 Commits

Author SHA1 Message Date
Rob Rix
b05b1694a7 Get the first ranges for a child. 2016-03-24 11:45:52 -04:00
Rob Rix
ccceb8d771 Re-add getRange. 2016-03-24 11:45:45 -04:00
Rob Rix
6a0302acbf Replace rangeLists with a use of fromThese. 2016-03-24 11:34:11 -04:00
Rob Rix
4d99c94bc2 Move the definition onto a new line. 2016-03-24 11:33:11 -04:00
Rob Rix
0a1b3508ee Don’t iterate each line of each child. 2016-03-24 11:32:41 -04:00
Rob Rix
6087ce0560 Place the comma at the start. 2016-03-24 11:32:20 -04:00
Rob Rix
eaff627676 Move rangeLists up. 2016-03-24 11:32:09 -04:00
Rob Rix
9055ada149 Document fromThese. 2016-03-24 11:29:01 -04:00
Rob Rix
b0757d5fd3 Add fromThese. 2016-03-24 11:28:28 -04:00
Rob Rix
99d73906bc Stub in grouping children by line with a recursive function. 2016-03-24 11:05:57 -04:00
Rob Rix
88641e5398 Add a customized Unalign instance over []. 2016-03-22 09:46:24 -04:00
Rob Rix
7033571fca Add Unalign. 2016-03-22 09:39:03 -04:00
Rob Rix
aabb2bbbd1 Dedupe groupChildrenByLine. 2016-03-22 09:27:45 -04:00
Rob Rix
ca10210caa 🔥 the groupChildren binding. 2016-03-22 09:25:52 -04:00
Rob Rix
2e9eb92609 Rename the tests. 2016-03-22 09:20:44 -04:00
Rob Rix
cff9130426 bimap so we get the correct categories. 2016-03-22 09:17:59 -04:00
Rob Rix
8b00b66b3f Align leaves. 2016-03-22 08:35:38 -04:00
Rob Rix
25e3a13309 Align diffs into lists of Join These. 2016-03-22 08:20:56 -04:00
Rob Rix
1a3a32e3e1 Correct the test fixtures. 2016-03-22 00:17:20 -04:00
Rob Rix
16bdf2c1a5 Rename maybeFirst/maybeSecond to maybeFst/maybeSnd. 2016-03-21 23:56:03 -04:00
Rob Rix
2226acf61c Revert "Add a convenience to construct Source Char."
This reverts commit 63e023e439491207aa739bb0e68660770eaa9272.
2016-03-21 19:08:35 -04:00
Rob Rix
7ff808f3dc Add some tests (which won’t typecheck yet). 2016-03-21 19:08:02 -04:00
Rob Rix
62ac37c981 Add a convenience to construct branch diffs. 2016-03-21 18:54:34 -04:00
Rob Rix
361bfc0e81 Add a convenience to construct leaf diffs. 2016-03-21 18:54:27 -04:00
Rob Rix
1f1be15a99 Add a convenience to construct Source Char. 2016-03-21 18:54:18 -04:00
Rob Rix
d3a3b68752 Add a convenience to construct Info. 2016-03-21 18:54:09 -04:00
Rob Rix
745b695dd9 The tests depend on bifunctors. 2016-03-21 18:53:57 -04:00
Rob Rix
f03cdea1f7 Align Indexed branch nodes. 2016-03-21 18:27:46 -04:00
Rob Rix
0e83f33c6b Pair ranges and children. 2016-03-21 16:08:56 -04:00
Rob Rix
3e73aefb01 Don’t bother wrapping in Join.
We need a bifunctor here.
2016-03-21 16:04:21 -04:00
Rob Rix
d1d9fa6970 Add a function to group children by line. 2016-03-21 16:03:10 -04:00
Rob Rix
8a019572dc Embed in Join These outside of the alignSyntax call. 2016-03-21 14:47:26 -04:00
Rob Rix
2f37ba14bc Aligned leaf diffs have per-line ranges. 2016-03-21 13:38:36 -04:00
Rob Rix
73f8cd56e0 Document setCharacterRange. 2016-03-21 13:35:33 -04:00
Rob Rix
8cae8fe049 Add a function to replace the character range on an Info. 2016-03-21 13:35:12 -04:00
Rob Rix
cd2e07bcf3 🔥 Data.Aligned. 2016-03-21 13:27:20 -04:00
Rob Rix
d3e8b2ba80 Stub in a function to align diffs. 2016-03-21 13:26:38 -04:00
Rob Rix
89537b4f81 Aligned diffs are split diffs. 2016-03-21 13:10:28 -04:00
Rob Rix
a3e253804d 🔥 theseBoth. 2016-03-21 13:06:00 -04:00
Rob Rix
ca1f7ecfef More docs. 2016-03-21 13:04:32 -04:00
Rob Rix
5588378da9 Document pairWithThese. 2016-03-21 13:03:50 -04:00
Rob Rix
6ac6a96179 Add a (total) convenience to pair the elements of Both with These. 2016-03-21 13:03:15 -04:00
Rob Rix
6422cb38a4 Define AlignedDiff as Joining These two terms. 2016-03-21 12:53:41 -04:00
Rob Rix
de9ad0bd9e Add an Align instance over lists again. 2016-03-21 09:31:12 -04:00
Rob Rix
c16d725773 Remove a redundant import. 2016-03-21 09:30:54 -04:00
Rob Rix
85fa168cc0 Add a Crosswalk instance over Join These. 2016-03-21 01:42:36 -04:00
Rob Rix
7629c657b4 Add a Crosswalk instance over Identity. 2016-03-21 01:42:30 -04:00
Rob Rix
102d1dcf68 Readd Crosswalk. 2016-03-21 01:41:05 -04:00
Rob Rix
dc0b5f0355 Revert "Stub in a Fix type for the sake of experimentation."
This reverts commit 91e8730e7e331abf10406c3d866796bb7f8b6d4f.
2016-03-18 15:16:22 -04:00
Rob Rix
9f1b7fc80f Truncate branches for the moment. 2016-03-18 15:15:05 -04:00