1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 07:55:12 +03:00
Commit Graph

5159 Commits

Author SHA1 Message Date
Rob Rix
767a9e93fc Add a Coalesce type synonym. 2016-03-07 14:29:06 -05:00
Rob Rix
8595496032 Extract a coalesceBy function taking a coalesce function. 2016-03-07 14:28:17 -05:00
Rob Rix
76ea86d0f4 Extract a mappendBy function taking a coalesce function. 2016-03-07 14:25:23 -05:00
Rob Rix
9e542eb5ee Use unzip instead of this unLeft/unRight applicative stuff. 2016-03-07 14:10:09 -05:00
Rob Rix
26f4b9c26e Expand by the Applicative law. 2016-03-07 14:00:03 -05:00
Rob Rix
d479322560 🔥 wrapRowContents. 2016-03-07 13:58:08 -05:00
Rob Rix
0053558161 Expand wrapRowContents in place. 2016-03-07 13:57:23 -05:00
Rob Rix
289f59d1f9 Merge branch 'master' into data-dot-adjoined 2016-03-07 13:32:14 -05:00
Josh Vera
a2675db76a Merge pull request #498 from github/refactor-alignment
Refactor alignment
2016-03-07 13:25:30 -05:00
Rob Rix
c517b09953 Merge branch 'refactor-alignment' into data-dot-adjoined 2016-03-07 13:18:28 -05:00
Rob Rix
30b3450981 Take hlint’s advice. 2016-03-07 13:14:34 -05:00
Rob Rix
3c3f171c16 Capture the child ranges in a variable. 2016-03-07 13:12:23 -05:00
Rob Rix
c895c001d1 Reformat adjoining across several lines.. 2016-03-07 13:07:19 -05:00
Rob Rix
14ce322cff Both is a PartialSemigroup under a PartialSemigroup which is also a Monoid. 2016-03-07 12:58:15 -05:00
Rob Rix
6bd58e3007 Revert "Stub in a Data.Bifunctor.These module."
This reverts commit 2cb0cce8304de64ebca4b8106dc453bd66fe1c36.
2016-03-07 12:57:12 -05:00
Rob Rix
95de4b23d6 Revert "Add the These type."
This reverts commit 23c0bf34584d3ef626081001e8762f4a98ea706e.
2016-03-07 12:57:09 -05:00
Rob Rix
6fbafa268d Revert "These is an instance of Bifunctor."
This reverts commit e299633535e46af5ca0a6334cdc3891d18fb76b4.
2016-03-07 12:57:06 -05:00
Rob Rix
705b0757ed Revert "Stub in a Data.Align module."
This reverts commit 7e2a1740f7c585cc1ac277c1cd92b333c7c68e34.
2016-03-07 12:57:03 -05:00
Rob Rix
1dfcf8e783 Revert "Add an Align typeclass."
This reverts commit b5e07c617dded12b6cca0e31664c0b12c679da11.
2016-03-07 12:57:00 -05:00
Rob Rix
2b5bd9ea84 Revert "Add an Align instance for lists."
This reverts commit d23ee2e7b622f7310fe80ab571c140dfcf09bc92.
2016-03-07 12:56:58 -05:00
Rob Rix
925a4b9ecf Revert "Align depends on These."
This reverts commit d625441bd8a3e6cbdce561499e4d41c078ebb261.
2016-03-07 12:56:55 -05:00
Rob Rix
ad1fb53de8 Revert "Construct Row from These."
This reverts commit 45f89ad68c0a0a4325a7621e894432413f19c74b.
2016-03-07 12:56:48 -05:00
Rob Rix
cd0a65236a Revert "Eta-reduce align."
This reverts commit be2bea951b9e94567537dc4d5c0d9aa7e8e08d4b.
2016-03-07 12:56:44 -05:00
Rob Rix
ae70cc61c2 Document the Ranges in splitDiffbyLines’ return value. 2016-03-07 12:05:21 -05:00
Rob Rix
7e945dcad2 Eta-reduce align. 2016-03-07 11:19:53 -05:00
Rob Rix
0b0cc2695a Construct Row from These. 2016-03-07 10:51:53 -05:00
Rob Rix
6fbab10fe7 Take hlint’s advice. 2016-03-07 10:50:15 -05:00
Rob Rix
e6a0c8358d Align depends on These. 2016-03-07 09:44:53 -05:00
Rob Rix
63782505af Add an Align instance for lists. 2016-03-07 09:42:53 -05:00
Rob Rix
05fa8a6aa5 Add an Align typeclass. 2016-03-07 09:38:13 -05:00
Rob Rix
fb24cc7241 Stub in a Data.Align module. 2016-03-07 09:33:09 -05:00
Rob Rix
25e7dbdbe4 These is an instance of Bifunctor. 2016-03-07 09:31:01 -05:00
Rob Rix
3a38edefd9 Add the These type. 2016-03-07 09:28:47 -05:00
Rob Rix
d78b5e7a7a Stub in a Data.Bifunctor.These module. 2016-03-07 09:28:09 -05:00
Rob Rix
63802d3137 Maybe is a PartialSemigroup under a Monoid. 2016-03-05 01:00:11 -05:00
Rob Rix
4deabf496f Implement Adjoined over Seq. 2016-03-05 00:57:26 -05:00
Rob Rix
ae64b6f930 Define Adjoined over a list. 2016-03-05 00:43:07 -05:00
Rob Rix
afffe77c1d Represent Empty via Maybe. 2016-03-05 00:14:19 -05:00
Rob Rix
4b2c548d32 Defined Adjoined as a binary tree-ish thing. 2016-03-05 00:09:18 -05:00
Rob Rix
b251f1c67d Define Adjoined as an ad hoc list-ish tree thing. 2016-03-04 23:43:33 -05:00
Rob Rix
dc8b7afc02 Document partial semigroups. 2016-03-04 22:51:24 -05:00
Rob Rix
2b90836bc8 Add a PartialSemigroup instance over Bool. 2016-03-04 22:47:47 -05:00
Rob Rix
2495305197 We no longer need Flexible or Undecidable instances. 2016-03-04 22:40:20 -05:00
Rob Rix
e5532f71b6 🔥 the Monoid a => PartialSemigroup a instance. 2016-03-04 22:39:49 -05:00
Rob Rix
d54324e20c Add a Monoid instance for Adjoined over partial semigroups. 2016-03-04 22:25:27 -05:00
Rob Rix
42579d9c5b Add a Monad instance for Adjoined. 2016-03-04 22:25:16 -05:00
Rob Rix
d1a2d564bf Add an Applicative instance for Adjoined. 2016-03-04 22:24:50 -05:00
Rob Rix
e6a8d061e5 Monoids induce partial semigroups. 2016-03-04 22:13:15 -05:00
Rob Rix
96d42bd962 Adjoined wraps Maybe. 2016-03-04 22:11:23 -05:00
Rob Rix
9ecfdf3bfb Replace Adjoining with PartialSemigroup. 2016-03-04 22:08:56 -05:00