Releases: haskell/containers
containers 0.8
See the changelog for what's changed.
containers 0.6.5.1
Bug fixes
-
foldr'andfoldl'forMapandSetare now strict everywhere they
should be, and we have detailed tests to make sure they stay that way.
(Thanks, coot.) -
The
Ord IntSetinstance, which was broken in 0.6.3.1, has been
repaired.
New instance
- We now have
Ord a => Ord (Tree a)(Thanks, Ericson2314.)
Testing fixes
- Thanks to konsumlamm and infinity0 for various bug fixes in the test suite.
containers 0.6.4.1
Bug fixes
- Replace value-forcing variants of
composewith lazy variants.- This brings
composecloser in line with functions likeunionandintersectionwhich don't evaluate any map values. (Thanks, Simon Jakobi)
- This brings
Additions
-
Add
reverseTopSorttoData.Graph(Thanks, James Parker) -
Expose
traverseMaybeWithKeyfromData.IntMap.{Lazy,Strict}(Thanks, Simon
Jakobi)
Other changes
-
Improvements to the testsuite: #663, #662 (Thanks, Bertram Felgenhauer)
-
Fix build with
stack test(Thanks, Simon Jakobi)
containers 0.6.3.1
Bug fixes
-
Fix
traverseandtraverseWithKeyforIntMap, which would
previously produce invalidIntMaps when the input contained
negative keys (Thanks, Felix Paulusma). -
Fix the traversal order of various functions for
Data.IntMap:
traverseWithKey,traverseMaybeWithKey,filterWithKeyA,
minimum,maximum,mapAccum,mapAccumWithKey,mapAccumL,
mapAccumRWithKey,mergeA(Thanks, Felix Paulusma, Simon Jakobi).
Additions
-
Add
composeforMapandIntMap(Thanks, Alexandre Esteves). -
Add
alterFforSetandIntSet(Thanks, Simon Jakobi). -
Add
Data.IntSet.mapMonotonic(Thanks, Javran Cheng). -
Add
instance Bifoldable Map(Thanks, Joseph C. Sible).
Performance improvements
-
Make
(<*)forData.Sequenceincrementally asymptotically optimal.
This finally completes the task, begun in December 2014, of making all
theApplicativemethods for sequences asymptotically optimal
even when their results are consumed incrementally. Many thanks to
Li-Yao Xia and Bertram Felgenhauer for helping to clean up and begin
to document this rather tricky code. -
Speed up
fromListand related functions inData.IntSet,Data.IntMap
andData.IntMap.Strict(Thanks, Bertram Felgenhauer). -
Use
count{Leading,Trailing}ZerosinData.IntSetinternals (Thanks, Alex
Biehl).
Other changes
-
Reduce usage of the
Foresttype synonym inData.Tree(Thanks, David
Feuer). -
Address a Core lint warning for
foldToMaybeTree(Thanks, Matthew Pickering). -
Improve documentation (Thanks to Daniel Wagner, Johannes Waldmann, Steve Mao,
Gabriel Greif, Jean-Baptiste Mazon, Ziyang Liu, Matt Renaud, Li-Yao Xia). -
Improvements to the testsuite and benchmarks (Thanks, Bertram Felgenhauer,
Simon Jakobi, Johannes Waldmann). -
Canonicalise
Seq'sMonoidinstance (Thanks, Fumiaki Kinoshita).
containers 0.5.11.0
v0.5.11.0a containers 0.5.11.0
containers 0.5.8.1
Bump version in containers.cabal