Changelog for these-1.1.1
1.1.1
- These doesn't depend on
base-compatanymore - Add
NFData1/2,Hashable1/2,Eq1/2... instances
1.1
- Reverse dependency with
aeson.- The
QuickCheckinstances are moved intoquickcheck-instances - The
semigroupoidsinstances are gone for now.
- The
1.0.1
- add
partitionEithersNE :: NonEmpty (Either a b) -> These (NonEmpty a) (NonEmpty b)
1
This is major package reogranisation. Old these were split into
theseproviding onlyThesetype and some combinatorsthese-lensproviding lens combinatorssemialignprovidingSemialign,Align,Zip,UnalignandUnzipclassessemialign-indexedprovidingSemialignWithIndex(izipWithandialignWithmembers).monad-chronicleprovidingChronicleTandMonadChronicle
Also noticeable change is unalign :: f (These a b) -> (f a, f b).
For the old f (These a b) -> (f (Maybe a), f (Maybe b)) use unzipWith (unalign . Just).
- Many instances are added.
- Since annotations are removed for all but
thesepackage.
0.8.1
- Add
SemialignTree,Tagged,(->) e;AlignComposeandProxyinstances - Allow
semigroups-0.19andhashable-1.3
0.8.0
- Split
alignandalignWithinto own class:Semialign. ialignhas default implementation- Add
SemialignNonEmptyandIdentityinstances - Add
SwapandAssocinstances (type classes fromassocpackage) - Move optics into
Data.These.Lensmodule, and and some combinatorsData.These.Combinators. Also some combinators are renamed, so naming is now consistent. As the resultData.Thesehas very minimal exports. - Change type of
partitionThese(nested pairs to triple) - Add
partitionHereThere :: [These a b] -> ([a],[b])
0.7.6
- Tigthen lower bounds
- Add dependency on
lens - Add
assoc,reassoc,swapandSwappedinstance - Add since annotations for things added in 0.7.x
- Add
AlignWithKey ZipListinstance - Add
Data.Align.Indexedmodule. - Add
Data.Functor.ThesewithThese1data type. - Add associativity law
- Add
toListproperty to enforce "align"-feel. MapandIntMapAligninstances implemented using merge combinators (when available)
0.7.5
- Add
Composeand(,)Crosswalkinstances - Add
bitraverseThese - GHC-8.6 support
0.7.4
QuickCheck-2.10support:Arbitrary1/2instances- GHC-8.2 support
0.7.3
- Add
salign :: (Align f, Semigroup a) => f a -> f a -> f a
0.7.2
- Support
aeson-1: addFromJSON1,FromJSON2ToJSON1, andToJSON2Theseinstances.
0.7.1
- Add
AlignWithKeyinData.Align.Key(added dependencykeys) - Add
Theseinstances forbinary:Binaryaeson:FromJSON,ToJSONQuickCheck:Arbitrary,CoArbitrary,Functiondeepseq:NFData
0.7
- Breaking change: Generalized
Monad,Applicativeinstances ofTheseandChronicleto require only aSemigroupconstraint - More efficient
Align Seqimplementation - Add
Crosswalk SeqandVectorinstances
0.6.2.1
- Support quickcheck-instances-0.3.12 (tests)
0.6.2.0
- Add support to bifunctors-5.1