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

6143 Commits

Author SHA1 Message Date
Rob Rix
1fb647ae9d Drop the broken min. 2016-04-25 13:56:57 -04:00
Rob Rix
d9c2bb8e4c Strip newlines in the output diff. 2016-04-25 13:55:39 -04:00
Rob Rix
938b89f8db Add a function to strip newlines from a Functor. 2016-04-25 13:55:33 -04:00
Rob Rix
aa87f65466 Pad out This lines. 2016-04-25 13:47:21 -04:00
Rob Rix
77576905d1 Parameterize showLine by the column width. 2016-04-25 13:38:26 -04:00
Rob Rix
7999f8e540 Wrap the diff in PrettyDiff. 2016-04-25 13:37:19 -04:00
Rob Rix
51191338a6 Add an align binding. 2016-04-25 13:37:07 -04:00
Rob Rix
4d47ebc4b5 Define an Eq instance for PrettyDiff. 2016-04-25 13:00:26 -04:00
Rob Rix
639e1a9443 Add field accessors back in again. 2016-04-25 13:00:18 -04:00
Rob Rix
e481756bd3 Bind the sources in a let. 2016-04-25 12:57:57 -04:00
Rob Rix
3cde6162e7 PrettyDiff takes a pair of Sources. 2016-04-25 12:57:33 -04:00
Rob Rix
a805cad292 Pass the source to showDiff explicitly. 2016-04-25 12:56:03 -04:00
Rob Rix
0ca30921ca Add a Show instance for PrettyDiff. 2016-04-25 12:54:51 -04:00
Rob Rix
0d90744aac PrettyDiff doesn’t declare accessors. 2016-04-25 12:54:40 -04:00
Rob Rix
43359cad9c PrettyDiff carries the Source. 2016-04-25 12:53:15 -04:00
Rob Rix
564dd1d2c7 Stub in a PrettyDiff type. 2016-04-25 12:37:56 -04:00
Rob Rix
8fee49b2e3 Maintain the fiction of multiple terms. 2016-04-25 12:29:50 -04:00
Rob Rix
97bebfbc30 uncurry lineFields. 2016-04-25 12:24:48 -04:00
Rob Rix
1e94f493c9 Reincorporate nextLines into the computation of thisRanges. 2016-04-25 12:06:30 -04:00
Rob Rix
c8903aefe7 Inline the definition of put. 2016-04-25 12:00:33 -04:00
Rob Rix
df011fef9e Generalize distribute to arbitrary functors. 2016-04-25 11:38:35 -04:00
Rob Rix
36381cb432 Simplify the implementation of distribute. 2016-04-25 11:38:10 -04:00
Rob Rix
390302ae9d Document distribute. 2016-04-25 11:33:13 -04:00
Rob Rix
76f0b6fb0c Rename invertEmbedding to distribute. 2016-04-25 11:26:20 -04:00
Rob Rix
dff06c24af Merge branch 'master' into cofree-and-bifunctors-sitting-in-a-tree-a-l-i-g-n-edly 2016-04-25 11:25:43 -04:00
Rob Rix
ccb7568d3e Align within a copointed functor to handle Keyed nodes. 2016-04-25 11:25:32 -04:00
Rob Rix
6b07bdf795 Add a function to invert the embedding of a copointed functor around Join These. 2016-04-25 11:19:51 -04:00
Rob Rix
f0683932bb 🔥 redundant imports. 2016-04-22 12:56:13 -04:00
Rob Rix
f7fd63528a 🔥 obsolete bindings. 2016-04-22 12:56:09 -04:00
Rob Rix
c6be56f7d3 Disable warnings about orphans.
This is primarily for the benefit of ghc-mod while editing.
2016-04-22 12:54:50 -04:00
Rob Rix
a98876bf18 🔥 a redundant import. 2016-04-22 12:54:26 -04:00
Rob Rix
d2dae5824d Expect children to be in a copointed context. 2016-04-22 12:18:40 -04:00
Rob Rix
f48a47ce8f Simplify prepending the tail. 2016-04-22 11:59:00 -04:00
Rob Rix
3fb4ad04fc uncons the first/next lines in the spanning pass. 2016-04-22 11:57:38 -04:00
Rob Rix
76f46ebb02 No need to re-cons the lines of nonintersecting children. 2016-04-22 11:48:08 -04:00
Rob Rix
82289984de Revert "Depend on semigroupoids."
This reverts commit aee2715e87a9112ced62ef27ef74f7a1869f2456.
2016-04-22 11:39:21 -04:00
Rob Rix
43fb9d2318 Revert "Add an Alt instance for OrderedMap."
This reverts commit 5471436d697c52613b6ebb05da3fdcf1959e3fa0.
2016-04-22 11:39:17 -04:00
Rob Rix
5fa6cb280c Revert "Add a Plus instance for OrderedMap."
This reverts commit 031af68c173dc8f2c4ac556d2fa01fe15bf3cc6a.
2016-04-22 11:39:14 -04:00
Rob Rix
20f035316e Add a Plus instance for OrderedMap. 2016-04-22 11:05:13 -04:00
Rob Rix
4a4f5a0f14 Add an Alt instance for OrderedMap. 2016-04-22 11:05:08 -04:00
Rob Rix
4a818d4d11 Move the Monoid instance over OrderedMap to the bottom. 2016-04-22 11:04:53 -04:00
Rob Rix
f0dc234c85 Depend on semigroupoids. 2016-04-22 11:04:08 -04:00
Rob Rix
3a130c9a66 Derive a Functor instance for Union. 2016-04-22 10:39:15 -04:00
Rob Rix
87f99998c9 split via a pattern guard. 2016-04-22 10:39:03 -04:00
Rob Rix
ab023c3dcb Merge branch 'master' into cofree-and-bifunctors-sitting-in-a-tree-a-l-i-g-n-edly 2016-04-22 09:33:51 -04:00
Rob Rix
6c12d80419 Merge pull request #544 from github/float-timeouts
Speed up diffs by using async-pool
2016-04-22 09:28:12 -04:00
joshvera
953c18d693 Add jquery as a submodule for bench 2016-04-21 17:49:50 -04:00
Josh Vera
dc848720d7 Merge branch 'master' into float-timeouts 2016-04-20 17:43:06 -04:00
joshvera
b16484ce44 Move idOrEmptySourceBlob and nullOid to Source 2016-04-20 16:01:24 -04:00
Rob Rix
dfd71acaa0 🔥 I did not mean to commit this. 2016-04-15 16:36:14 -04:00