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

4831 Commits

Author SHA1 Message Date
Rob Rix
c033182e5f Replace the Semigroup instance with a Monoid instance over Data.Option. 2016-02-26 19:55:14 -05:00
Rob Rix
431b8ff693 Build Data.Option. 2016-02-26 19:54:53 -05:00
Rob Rix
ad9e24da57 Add an eliminator for Option. 2016-02-26 19:54:38 -05:00
Rob Rix
6f13e62eb9 Add an Option type. 2016-02-26 19:54:33 -05:00
Rob Rix
c0874465ee Stub in a Data.Option module. 2016-02-26 19:46:57 -05:00
Rob Rix
a415ae4d44 Goodbye, 🌈 Chunks. 2016-02-26 19:06:43 -05:00
Rob Rix
8c39ae3c87 Remove the Unified module. 2016-02-26 19:05:51 -05:00
Rob Rix
95e0371ea1 Remove a redundant import. 2016-02-26 19:05:42 -05:00
Rob Rix
c20d58240e Remove support for rendering unified diffs. 2016-02-26 19:05:07 -05:00
Rob Rix
1d3ae0b902 Remove unified diffs from the corpus. 2016-02-26 19:04:47 -05:00
Rob Rix
cf96ca9aba Don’t accept the --unified option. 2016-02-26 19:04:07 -05:00
Rob Rix
782b01932f Replace the dependency on bifunctors with Data.Bifunctor.Join. 2016-02-26 18:57:54 -05:00
Rob Rix
509ddedf7b Add an Applicative instance. 2016-02-26 18:56:44 -05:00
Rob Rix
e684031097 Derive Eq, Show, Functor, Foldable, and Traversable instances. 2016-02-26 18:56:39 -05:00
Rob Rix
bb707cffc1 Add a Join type specialized to pairs. 2016-02-26 18:56:26 -05:00
Rob Rix
6b35f029af Stub in a Data.Bifunctor.Join module. 2016-02-26 18:56:16 -05:00
Rob Rix
bbf76ad1e6 Merge branch 'master' into factor-out-packages
# Conflicts:
#	semantic-diff.cabal
2016-02-26 18:45:38 -05:00
Rob Rix
254d04774a Merge pull request #467 from github/group-renderers
Group renderers
2016-02-26 18:43:13 -05:00
Josh Vera
96b953e6aa Merge pull request #466 from github/remove-free
Remove free
2016-02-26 16:36:19 -07:00
Rob Rix
f9bca5ec2d Set up a semantic-difftool package. 2016-02-26 18:05:10 -05:00
Rob Rix
0892dfd49e Move DiffOutput into the library. 2016-02-26 17:56:38 -05:00
Rob Rix
d5a59ff9b0 Add Show instances. 2016-02-26 12:32:00 -07:00
Rob Rix
55bca5ed1e Implement unfold. 2016-02-26 12:26:40 -07:00
Rob Rix
4b15f12735 Replace free with Control.Monad.Free & Control.Comonad.Cofree. 2016-02-26 12:20:55 -07:00
Rob Rix
fa58cff167 Implement iter. 2016-02-26 12:20:27 -07:00
Rob Rix
aa66c89282 Implement unwrap. 2016-02-26 12:18:24 -07:00
Rob Rix
5525da7afd Write Eq instances. 2016-02-26 12:18:19 -07:00
Rob Rix
7775a35112 Derive Functor/Foldable/Traversable instances. 2016-02-26 12:17:55 -07:00
Rob Rix
b268c96668 Correct the definition of Cofree. 2016-02-26 12:17:44 -07:00
Rob Rix
4a0e01a230 Stub in Free/Cofree types. 2016-02-26 12:09:35 -07:00
Rob Rix
d9f168e320 Format keyed nodes. 2016-02-25 16:56:56 -07:00
Rob Rix
52cf57be80 Format fixed nodes. 2016-02-25 16:50:33 -07:00
Rob Rix
5515f63b25 Format indexed children as an array. 2016-02-25 16:50:15 -07:00
Rob Rix
f83c2abe1a Format indexed syntaxes. 2016-02-25 16:49:42 -07:00
Rob Rix
8fcb8c3e76 iter/cata over diffs & patches. 2016-02-25 16:49:18 -07:00
Rob Rix
13e3a0e3d1 Add record fields to Annotated. 2016-02-25 16:49:02 -07:00
Rob Rix
a0de714565 Splat syntax out directly. 2016-02-25 16:36:01 -07:00
Rob Rix
3b54caefb5 Flesh out showCategories. 2016-02-25 16:33:17 -07:00
Rob Rix
6e74ef2a08 Flesh out showRange. 2016-02-25 16:32:02 -07:00
Rob Rix
543acb01c0 Stub in range/categories/syntax showing. 2016-02-25 16:31:30 -07:00
Rob Rix
f205a59f6d Use showPatch for Pure diffs. 2016-02-25 16:29:24 -07:00
Rob Rix
640bd6c3dd Use showInfoSyntax for Free diffs. 2016-02-25 16:29:08 -07:00
Rob Rix
0b1bec523f Stub in showing info & syntax. 2016-02-25 16:28:36 -07:00
Rob Rix
1e07c5f7e0 Stub in patch rendering. 2016-02-25 16:27:44 -07:00
Rob Rix
b593fb1783 Stub in showDiff. 2016-02-25 16:25:31 -07:00
Rob Rix
bb51244ffe Show lines.
Turn off overloaded strings so that we don’t have to annotate showLine.
2016-02-25 16:17:05 -07:00
Rob Rix
c5d888a6ac Make it a newtype. 2016-02-25 16:16:27 -07:00
Rob Rix
0352948aca Document the thing. 2016-02-25 16:07:12 -07:00
Rob Rix
6d56fabcbf Stub in rendering of rows. 2016-02-25 16:03:34 -07:00
Rob Rix
e33cb1168e Split the diffs and show the rows. 2016-02-25 16:00:43 -07:00