1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00
Commit Graph

7261 Commits

Author SHA1 Message Date
Rob Rix
ce4ad3d9bc Fix up the reformat fixture. 2016-07-15 11:20:55 -04:00
Rob Rix
b96f60be92 🔥 Size. 2016-07-15 11:18:26 -04:00
Rob Rix
8754120403 🔥 the size/setSize accessors. 2016-07-15 11:18:21 -04:00
Rob Rix
5bc2cd93f1 Only annotate terms & diffs with costs, not sizes. 2016-07-15 11:17:53 -04:00
Rob Rix
e08fbd141f 📝 Cell. 2016-07-15 11:16:30 -04:00
Rob Rix
9a75c03c1e 🔥 unused field accessors. 2016-07-15 11:15:42 -04:00
Rob Rix
aa5c870e52 🔥 maybeFirst. 2016-07-15 11:15:04 -04:00
Rob Rix
6f0a55a487 Only export split. 2016-07-15 11:14:43 -04:00
Rob Rix
6859cba690 Don’t annotate with term costs. 2016-07-15 11:13:59 -04:00
Rob Rix
274c831e72 Don’t annotate zero-cost nodes. 2016-07-15 11:11:04 -04:00
Rob Rix
81279c910e Split out the attributes into separate functions. 2016-07-15 11:05:39 -04:00
Rob Rix
1cb3656502 Uniform split rendering of branches. 2016-07-15 10:53:43 -04:00
Rob Rix
08246f3a4c Simplify the catamorphism over terms/split diffs. 2016-07-15 10:52:28 -04:00
Rob Rix
7e3b470631 Repackage Renderable up with source & other. 2016-07-15 10:51:18 -04:00
Rob Rix
29812c4095 Use a strict Line type in split rendering. 2016-07-15 10:46:51 -04:00
Rob Rix
e5ad1d1c42 Use a strict Cell type in split rendering. 2016-07-15 09:59:23 -04:00
Rob Rix
7e4c68d182 Group all the ToMarkup instances together. 2016-07-15 09:55:29 -04:00
Rob Rix
b2fdfdba66 Placate hlint. 2016-07-15 09:55:00 -04:00
Rob Rix
aad375951f Render the Cost instead of the Size in Split diffs. 2016-07-15 09:52:25 -04:00
Rob Rix
747ae7cbfb 🔥 the InfoFields and Info type synonyms. 2016-07-15 09:41:22 -04:00
Rob Rix
97e8dfadb1 DiffSummarySpec doesn’t depend on Info. 2016-07-15 09:41:12 -04:00
Rob Rix
82ce5fffad AlignmentSpec doesn’t depend on Info at all. 2016-07-15 09:39:03 -04:00
Rob Rix
0a4c91c784 Remove some redundant imports. 2016-07-14 16:38:44 -04:00
Rob Rix
300bd2b84c Renderer takes an annotation type parameter. 2016-07-14 16:36:47 -04:00
Rob Rix
1e88543504 Generalize breakDownLeavesByWord over extensible record annotations. 2016-07-14 16:35:49 -04:00
Rob Rix
d1ed015446 Parser takes a list of field types. 2016-07-14 16:35:20 -04:00
Rob Rix
c59bb6ebfe 🔥 the Constructor type synonym. 2016-07-14 16:34:02 -04:00
Rob Rix
7c2a0d5cbb Generalize termConstructor over extensible record annotations. 2016-07-14 16:33:53 -04:00
Rob Rix
74df628f17 Weaken Interpreter’s constraint on annotations to Eq. 2016-07-14 16:18:06 -04:00
Rob Rix
1a2004fc78 Generalize split rendering over extensible record annotations. 2016-07-14 16:11:06 -04:00
Rob Rix
548b7936a7 Generalize patch rendering over extensible record annotations. 2016-07-14 16:10:51 -04:00
Rob Rix
efe868b01a Generalize the ToJSON instances over extensible record annotations. 2016-07-14 16:10:29 -04:00
Rob Rix
cd19193471 Avoid requiring Show instances everywhere. 2016-07-14 15:59:23 -04:00
Rob Rix
4d6ab97691 Placate hlint. 2016-07-14 15:53:52 -04:00
Rob Rix
edaf78c7ce 🔥 the import of the Info symbol. 2016-07-14 15:51:30 -04:00
Rob Rix
3166b53f52 Generalize diffSummary to extensible record annotations. 2016-07-14 15:51:09 -04:00
Rob Rix
0bbe856d3d Generalize diffSummary' to extensible record annotations. 2016-07-14 15:50:38 -04:00
Rob Rix
ea6ff00a7a Generalize the HasCategory instance over terms to extensible record annotations. 2016-07-14 15:49:58 -04:00
Rob Rix
8828adf0bd Generalize maybeTermName over HasField. 2016-07-14 15:49:10 -04:00
Rob Rix
323c426e24 Rename the diff cost function & generalize over records. 2016-07-14 14:14:21 -04:00
Rob Rix
2d910a6668 Placate hlint a little further. 2016-07-14 14:12:15 -04:00
Rob Rix
2826a7948a 🔥 a redundant definition. 2016-07-14 14:07:33 -04:00
Rob Rix
b9b0bda2bd 🔥 a redundant import. 2016-07-14 14:07:22 -04:00
Rob Rix
2a85ef7668 Placate hlint. 2016-07-14 14:07:15 -04:00
Josh Vera
ad0af796e1 Merge pull request #634 from github/equate-terms-with-respect-to-their-categories
Equate terms with respect to their categories.
2016-07-14 12:28:00 -04:00
Rob Rix
02e836d364 Equate terms with respect to their categories. 2016-07-14 11:27:54 -04:00
Josh Vera
8f84d93a8e Merge pull request #631 from github/equal-term-costs
Apply 🔥 vigourously
2016-07-14 10:28:19 -04:00
Rob Rix
56fbaaf8e5 Merge branch 'master' into equal-term-costs 2016-07-14 09:52:45 -04:00
Josh Vera
22a3be2418 Merge pull request #633 from github/arbitrary-arbitrary-records
Arbitrary Arbitrary records
2016-07-13 15:47:37 -04:00
Rob Rix
50c9d37cb1 Placate hlint. 2016-07-13 15:33:53 -04:00