Rob Rix
|
8d9562e94e
|
Define a lifting of cons3.
|
2017-01-05 14:40:28 -05:00 |
|
Rob Rix
|
e5f4aed989
|
Define a lifting of cons2.
|
2017-01-05 14:40:16 -05:00 |
|
Rob Rix
|
fe6a0852c5
|
Lift Listable through Listable2.
|
2017-01-05 14:39:51 -05:00 |
|
Rob Rix
|
6db5cf152a
|
Lift Listable over * -> * -> *.
|
2017-01-05 14:39:10 -05:00 |
|
Rob Rix
|
cae179abc2
|
Define a Listable1 instance over Maybe.
|
2017-01-05 14:38:45 -05:00 |
|
Rob Rix
|
1e57f7474b
|
Define a lifting of cons1.
|
2017-01-05 14:38:31 -05:00 |
|
Rob Rix
|
f17fd281ab
|
Lift Listable through Listable1.
|
2017-01-05 14:37:39 -05:00 |
|
Rob Rix
|
2d9f56f946
|
Lift Listable over * -> *.
|
2017-01-05 14:37:02 -05:00 |
|
Rob Rix
|
da422724b3
|
Re-export Listable & the tier operators.
|
2017-01-05 14:36:16 -05:00 |
|
Rob Rix
|
22248f26bf
|
Stub in a Listable module.
|
2017-01-05 14:34:45 -05:00 |
|
joshvera
|
1c3fe8e944
|
Add StrictData to semantic-diff library
|
2016-10-12 18:28:46 -04:00 |
|
joshvera
|
4281549eb0
|
Add -funbox-strict-fields annotations to some data types
|
2016-10-12 17:28:27 -04:00 |
|
joshvera
|
09304a5df2
|
Add strictness annotations to a few types
|
2016-10-12 16:34:12 -04:00 |
|
Rob Rix
|
62196878fa
|
Merge branch 'master' into ghc8
# Conflicts:
# semantic-diff.cabal
# src/Diff.hs
# src/Term.hs
# src/Term/Arbitrary.hs
# stack.yaml
# tools/semantic-git-diff/src/SemanticDiff.hs
|
2016-09-14 16:12:47 -04:00 |
|
Rob Rix
|
093048b736
|
Stop hiding a symbol we don’t shadow.
|
2016-07-22 11:58:09 -04:00 |
|
Rob Rix
|
e914685790
|
Don’t warn of orphans so much.
|
2016-06-30 12:59:26 -04:00 |
|
joshvera
|
ef6b174c7d
|
Merge remote-tracking branch 'origin/master' into ghc8
|
2016-06-15 10:10:07 -07:00 |
|
Rob Rix
|
7802d4916c
|
🔥 FlexibleInstances & RecordWildCards pragmas.
|
2016-06-03 16:02:06 -04:00 |
|
joshvera
|
583206d728
|
Export Join from Data.Functor.Both so we can use runJoin
|
2016-06-01 17:39:26 -04:00 |
|
joshvera
|
fbf368b659
|
Merge remote-tracking branch 'origin/master' into ghc8
|
2016-05-31 13:49:17 -04:00 |
|
joshvera
|
dcd8b0de32
|
Bump to lts nightly for ghc-8.0
|
2016-05-27 13:10:04 -04:00 |
|
Rob Rix
|
cfe15a5afa
|
Merge branch 'master' into cofree-and-bifunctors-sitting-in-a-tree-a-l-i-g-n-edly
# Conflicts:
# src/Alignment.hs
# src/Control/Comonad/Cofree.hs
# src/Data/Adjoined.hs
# src/Data/Align.hs
# src/Data/Bifunctor/These.hs
# src/Data/Coalescent.hs
# src/Data/Copointed.hs
# src/Data/Functor/Both.hs
# src/Data/Option.hs
# src/Line.hs
# src/Patch.hs
# src/Range.hs
# src/Renderer/JSON.hs
# src/Renderer/Patch.hs
# src/Renderer/Split.hs
# src/SplitDiff.hs
# stack.yaml
# test/AlignmentSpec.hs
# test/CorpusSpec.hs
# test/Data/Adjoined/Spec.hs
# test/Data/Functor/Both/Spec.hs
|
2016-05-26 15:25:45 -04:00 |
|
joshvera
|
8180b37285
|
Use Protolude via the Prologue module and add NoImplicitPrelude
|
2016-05-26 12:58:04 -04:00 |
|
Rob Rix
|
64026caa06
|
🔥 runBoth.
|
2016-04-25 16:07:52 -04:00 |
|
Rob Rix
|
d5575fb999
|
🔥 pairWithThese.
|
2016-04-25 15:27:50 -04:00 |
|
Rob Rix
|
b0ed956779
|
🔥 maybeBothOfThese.
|
2016-04-25 15:24:46 -04:00 |
|
Rob Rix
|
a61d847705
|
Replace Data.Bifunctor.These and Data.Align with the these package.
|
2016-04-14 22:00:00 -04:00 |
|
Rob Rix
|
4845ee1245
|
🔥 the TotalCrosswalk instance over Both.
|
2016-04-14 21:59:44 -04:00 |
|
Rob Rix
|
d2beafdc84
|
🔥 Both.unzip.
|
2016-04-04 16:25:16 -04:00 |
|
Rob Rix
|
de6696ce50
|
Simplify unzip using the Applicative instance.
|
2016-04-04 15:41:01 -04:00 |
|
Rob Rix
|
fd150be38e
|
🔥 bothOfThese .
|
2016-04-04 15:39:07 -04:00 |
|
Rob Rix
|
a33acf8bdf
|
Simplify maybeBothOfThese around fromThese .
|
2016-04-04 15:38:56 -04:00 |
|
Rob Rix
|
25bae5d9e0
|
Simplify bothOfThese around fromThese .
|
2016-04-04 15:38:07 -04:00 |
|
Rob Rix
|
06c4759aed
|
Represent Both as Join (,) .
|
2016-04-04 15:01:47 -04:00 |
|
Rob Rix
|
ca1f7ecfef
|
More docs.
|
2016-03-21 13:04:32 -04:00 |
|
Rob Rix
|
5588378da9
|
Document pairWithThese.
|
2016-03-21 13:03:50 -04:00 |
|
Rob Rix
|
6ac6a96179
|
Add a (total) convenience to pair the elements of Both with These.
|
2016-03-21 13:03:15 -04:00 |
|
Rob Rix
|
0fc6dd758b
|
Redefine the Coalescent instance for Both over Both (Line a).
|
2016-03-15 11:10:34 -04:00 |
|
Rob Rix
|
0fd1c65ce8
|
🔥 modifyBoth.
|
2016-03-15 08:24:50 -04:00 |
|
Rob Rix
|
1b274c3e57
|
🔥 BothMaybe.
|
2016-03-14 19:46:56 -04:00 |
|
Rob Rix
|
c6c25a3fc6
|
Add a TotalCrosswalk instance for Both.
|
2016-03-14 19:44:46 -04:00 |
|
Rob Rix
|
6b28569afc
|
Add a function to modify the tuple inside a Both.
|
2016-03-14 19:14:29 -04:00 |
|
Rob Rix
|
5bc7448f26
|
The new Coalescent signature admits an instance over Both.
|
2016-03-14 18:34:16 -04:00 |
|
Rob Rix
|
e512d6f0d7
|
coalesce depends on an Alternative instance.
|
2016-03-14 18:31:17 -04:00 |
|
Rob Rix
|
8c296b83be
|
Document bothWithDefault.
|
2016-03-14 15:41:40 -04:00 |
|
Rob Rix
|
c877cdf0d2
|
s/MaybeBoth/BothMaybe.
|
2016-03-14 14:13:46 -04:00 |
|
Rob Rix
|
bf74097847
|
Add a bothWithDefault function to convert MaybeBoth back into Both.
|
2016-03-14 14:11:01 -04:00 |
|
Rob Rix
|
c0b9e66981
|
Document justBoth.
|
2016-03-11 16:59:34 -05:00 |
|
Rob Rix
|
a6d2892a31
|
Add a justBoth function to lift Both a into MaybeBoth a.
|
2016-03-11 16:58:53 -05:00 |
|
Rob Rix
|
62c1798bf5
|
Document maybeBothOfThese.
|
2016-03-11 16:57:32 -05:00 |
|
Rob Rix
|
8b51fe7771
|
MaybeBoth is Coalescent.
|
2016-03-11 16:49:29 -05:00 |
|
Rob Rix
|
f8afe6208a
|
MaybeBoth is a Crosswalk.
|
2016-03-11 16:49:24 -05:00 |
|
Rob Rix
|
eaf8228932
|
MaybeBoth is Applicative.
|
2016-03-11 16:48:54 -05:00 |
|
Rob Rix
|
15cfd88fb5
|
Add maybeBothOfThese to construct Both (Maybe a) from These a a.
|
2016-03-11 16:48:33 -05:00 |
|
Rob Rix
|
95b229ad20
|
Add a newtype wrapper around Both (Maybe a).
|
2016-03-11 16:48:12 -05:00 |
|
Rob Rix
|
859dd44fa0
|
Revert "🔥 bothOfThese ."
This reverts commit 0c31bffad138ea4b9b5017ea0ed7f3384fcc4771.
|
2016-03-11 15:22:30 -05:00 |
|
Rob Rix
|
c6568f0b43
|
Revert "🔥 a redundant import."
This reverts commit e8b9b70289c72dc9f23f4afc1139130dc60b57ca.
|
2016-03-11 15:22:26 -05:00 |
|
Rob Rix
|
fa8f9c15b0
|
🔥 Both.zip & Both.zipWith.
|
2016-03-11 14:21:24 -05:00 |
|
Rob Rix
|
2df34adef6
|
GeneralizedNewtypeDeriving on Data.Functor.Both.
|
2016-03-11 14:03:56 -05:00 |
|
Rob Rix
|
233c7bc13f
|
🔥 a redundant import.
|
2016-03-11 01:14:31 -05:00 |
|
Rob Rix
|
cd844d7a00
|
🔥 zipDefaults .
|
2016-03-11 01:06:09 -05:00 |
|
Rob Rix
|
693f91b93c
|
🔥 bothOfThese .
|
2016-03-11 01:05:54 -05:00 |
|
Rob Rix
|
2c8f16403d
|
bothOfThese takes Both defaults.
|
2016-03-10 14:55:03 -05:00 |
|
Rob Rix
|
1694caa289
|
Document bothOfThese.
|
2016-03-10 14:00:35 -05:00 |
|
Rob Rix
|
a65798b0dc
|
Add a function to construct Both from These & a default value.
|
2016-03-10 13:34:13 -05:00 |
|
Rob Rix
|
1906f84dad
|
🔥 a redundant import.
|
2016-03-10 12:30:06 -05:00 |
|
Rob Rix
|
612169a6c6
|
🔥 transpose .
|
2016-03-10 12:29:18 -05:00 |
|
Rob Rix
|
683fc20989
|
Replace zipWithDefaults with zipDefaults.
|
2016-03-09 02:08:22 -05:00 |
|
Rob Rix
|
5e32c041fb
|
🔥 the PartialSemigroup/coalesceBy stuff for Both.
|
2016-03-08 10:24:20 -05:00 |
|
Rob Rix
|
6dfb8524ff
|
Generalize coalesceBy to Both (Coalesce a) .
|
2016-03-07 14:32:31 -05:00 |
|
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
|
14ce322cff
|
Both is a PartialSemigroup under a PartialSemigroup which is also a Monoid.
|
2016-03-07 12:58:15 -05:00 |
|
Rob Rix
|
9fa5334e33
|
Document transpose .
|
2016-03-03 10:37:55 -05:00 |
|
Rob Rix
|
c10a44e089
|
Add a transpose operation over Both .
|
2016-03-02 18:23:59 -05:00 |
|
Rob Rix
|
051c4f5530
|
Derive an Ord instance over Both.
|
2016-03-02 14:31:40 -05:00 |
|
Rob Rix
|
53b792e8b4
|
Sort the derived instances over Both.
|
2016-03-02 14:31:40 -05:00 |
|
Rob Rix
|
ae149c94ff
|
Use runBothWith to tidy up a few computations.
|
2016-02-29 19:43:57 -05:00 |
|
Rob Rix
|
51ad3ba049
|
Add runBothWith.
|
2016-02-29 19:41:05 -05:00 |
|
Rob Rix
|
7548e148dc
|
Rename runLeft/runRight to fst/snd.
|
2016-02-29 19:39:04 -05:00 |
|
Rob Rix
|
3e172365a2
|
Map directly over the applicatives.
|
2016-02-29 13:50:51 -05:00 |
|
Rob Rix
|
5b5f22711a
|
Define zipWithDefaults over Both.
|
2016-02-29 10:57:01 -05:00 |
|
Rob Rix
|
acca5d8917
|
Add runLeft/runRight conveniences.
|
2016-02-29 09:33:38 -05:00 |
|
Rob Rix
|
acd19b4502
|
Don’t bind variables we don’t use.
|
2016-02-29 09:33:02 -05:00 |
|
Rob Rix
|
e26b4bacd5
|
Document Both.
|
2016-02-29 09:15:26 -05:00 |
|
Rob Rix
|
cff2511305
|
Implement zipWith over Both.
|
2016-02-29 01:54:35 -05:00 |
|
Rob Rix
|
3296276f90
|
Implement zip over Both.
|
2016-02-29 01:51:37 -05:00 |
|
Rob Rix
|
ecdb3c3e9b
|
Implement unzip over Both.
|
2016-02-29 01:46:43 -05:00 |
|
Rob Rix
|
b6ffeeba2a
|
Document both .
|
2016-02-29 01:31:45 -05:00 |
|
Rob Rix
|
391d102dcf
|
Add a both function.
|
2016-02-29 01:31:04 -05:00 |
|
Rob Rix
|
0626228917
|
Data.Bifunctor.Join is actually Data.Functor.Both.
|
2016-02-28 21:29:59 -05:00 |
|