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

12074 Commits

Author SHA1 Message Date
Rob Rix
c6172239dd s/Monoid/Semigroup/ 2017-05-08 12:42:56 -04:00
Rob Rix
6f56bc980a Define a convenience wrapper for foldDiffWith when the result is a Monoid. 2017-05-08 12:42:36 -04:00
Rob Rix
a4cb5c5a30 Add a merging function to foldDiff. 2017-05-08 12:41:26 -04:00
Rob Rix
9fee3b2bc5 🔥 modifyAnnotations. 2017-05-08 11:54:50 -04:00
Rob Rix
4fe2a4cec1 Simplify mapAnnotations with the Bifunctor instance. 2017-05-08 11:53:23 -04:00
Rob Rix
d1c9c69ed8 🔥 ScopedTypeVariables. 2017-05-08 11:52:36 -04:00
Rob Rix
535403e326 Define an eliminator for diffs. 2017-05-08 11:46:12 -04:00
Rob Rix
d74c5fc2d2 🔥 ScopedTypeVariables. 2017-05-08 11:37:20 -04:00
Rob Rix
60782087de 🔥 a redundant forall. 2017-05-08 11:37:10 -04:00
Rob Rix
cba78c805f Specialize the leaf type. 2017-05-08 11:36:45 -04:00
Rob Rix
92be6ee6d1 Use the full types diffs & terms. 2017-05-08 11:35:34 -04:00
Rob Rix
b3fcde2abb Avoid indirection for error summaries. 2017-05-08 11:32:25 -04:00
Rob Rix
3cede7da09 Represent NotSummarizable as Nothing. 2017-05-08 11:31:30 -04:00
Rob Rix
821b598e2a Further tighten toTermName. 2017-05-08 11:24:25 -04:00
Rob Rix
6e411c7c85 Compute toTermName as a paramorphism. 2017-05-08 11:22:04 -04:00
Rob Rix
1b487b6907 🔥 offsetting in toTermName.
toTermName is a shallow traversal, so there’s little or no point in offsetting before recursive calls.
2017-05-08 11:18:23 -04:00
Rob Rix
2e98b4570d Contextualize summaries in diffToTOCSummaries directly. 2017-05-08 11:16:37 -04:00
Rob Rix
9df2a73e38 Tighten up toTermName. 2017-05-08 11:16:23 -04:00
Rob Rix
76002f08c0 🔥 redundant parens. 2017-05-08 09:56:11 -04:00
Rob Rix
f3cf3cb1d1 🔥 SummarizableTerm. 2017-05-08 09:55:56 -04:00
Rob Rix
8d8fa78b47 Simplify summarizable. 2017-05-05 16:34:16 -04:00
Rob Rix
0c7af370f7 Define termToDiffInfo as a paramorphism. 2017-05-05 16:28:46 -04:00
Rob Rix
c73a79eb83 No need to qualify sourceSpan. 2017-05-05 16:19:49 -04:00
Rob Rix
a55b97b017 Use the named field accessor. 2017-05-05 16:08:51 -04:00
Rob Rix
2491dde0f9 Don’t bind the individual info functions. 2017-05-05 16:00:52 -04:00
Rob Rix
e667657d94 Bind the diff info functions at the top level. 2017-05-05 16:00:10 -04:00
Rob Rix
b6cc1cfac1 🔥 redundant parens. 2017-05-05 15:56:15 -04:00
Rob Rix
628bf46ed3 Don’t bind syntax. 2017-05-05 15:56:04 -04:00
Rob Rix
274095720b Tighten up diffToTOCSummaries. 2017-05-05 15:54:38 -04:00
Rob Rix
f820af4f5a Factor the application of toLeafInfos out. 2017-05-05 15:48:54 -04:00
Rob Rix
c3f510f83d Rename toLeafInfos' to toLeafInfos. 2017-05-05 15:45:51 -04:00
Rob Rix
c6b49cba94 Simplify the termToDiffInfo definition by closing over the source. 2017-05-05 15:44:37 -04:00
Rob Rix
0ab53b002a Flatten toTOCSummaries. 2017-05-05 15:33:16 -04:00
Rob Rix
948869066c Even tighter. 2017-05-05 15:28:09 -04:00
Rob Rix
2ac1baef7a Tighten up the definition of afterOrBefore. 2017-05-05 15:27:50 -04:00
Rob Rix
8cd74f6ea2 afterOrBefore always returns a value. 2017-05-05 15:26:26 -04:00
Rob Rix
8023631dfb Merge pull request #1103 from github/assignment-best-practices
Assignment best practices
2017-05-05 13:44:43 -04:00
Rob Rix
875fe1c5ae Merge branch 'master' into assignment-best-practices 2017-05-05 10:56:19 -04:00
Timothy Clem
4a1f4de198 Merge pull request #1105 from github/fix-json-output
Fix json output
2017-05-05 07:55:22 -07:00
Timothy Clem
e53a8342a3 Missing one case for this monoid instance to be associative 2017-05-05 07:52:14 -07:00
Rob Rix
bee7d1ee6a Merge branch 'master' into fix-json-output 2017-05-05 09:06:30 -04:00
Timothy Clem
bea5d66f3f Bit more nuanced of a monoid instance for Value 2017-05-04 14:56:53 -07:00
Timothy Clem
702198ec91 Failing tests showing desired json output 2017-05-04 14:56:32 -07:00
Timothy Clem
477165a4c2 Collapse up and remove unused language extensions 2017-05-04 14:56:08 -07:00
Rob Rix
5d206c3c9a Merge branch 'master' into assignment-best-practices 2017-05-04 13:18:18 -04:00
Rob Rix
9f302459c2 Merge pull request #1102 from github/🔥-split-renderer
🔥 split renderer
2017-05-04 13:17:38 -04:00
Rob Rix
13d6b313cb Document how tokens are skipped. 2017-05-04 13:11:09 -04:00
Rob Rix
d62b6170e6 Document optional. 2017-05-04 13:04:54 -04:00
Rob Rix
64ada1c6c2 Document some/many repetitions. 2017-05-04 13:03:46 -04:00
Rob Rix
da158b4a12 Document committed choice. 2017-05-04 12:58:00 -04:00