Skip to content

Commit 9e0bcc4

Browse files
authored
Fix changelog for v0.6.6 and v0.6.8 (#1041)
1 parent 6a6c007 commit 9e0bcc4

File tree

2 files changed

+36
-8
lines changed

2 files changed

+36
-8
lines changed

containers/changelog.md

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@
5555
* `NECyclicSCC (NonEmpty v)` is a new constructor, maintaining an invariant
5656
that a set of mutually reachable vertices is non-empty.
5757

58+
## 0.6.8
59+
5860
### Additions
5961

6062
* Add `Data.IntSet.fromRange`. (Soumik Sarkar)
@@ -129,16 +131,40 @@
129131

130132
## 0.6.6
131133

132-
* Drop support for GHC versions before 8.0.2.
134+
### Additions
135+
136+
* Add `Lift` instances for use with Template Haskell. Specifically:
137+
`Seq`, `ViewL`, and `ViewR` (in `Data.Sequence`), `Map`, `Set`,
138+
`IntMap`, `IntSet`, `Tree`, and `SCC` (in `Data.Graph`). (David Feuer)
139+
140+
* Add `argSet` and `fromArgSet` for `Data.Map`. (jwaldmann)
141+
142+
### Performance improvements
143+
144+
* Remove short-circuiting from certain `IntMap` functions to improve
145+
performance for successful lookups. (Callan McGill)
146+
147+
### Other changes
148+
149+
* Drop support for GHC versions before 8.0.2. (David Feuer)
150+
151+
* Various documentation improvements. (Will Hawkins, Eric Lindblad, konsumlamm,
152+
Joseph C. Sible)
153+
154+
### Miscellaneous/internal
133155

134156
* Bump Cabal version for tests, and use `common` clauses to reduce
135-
duplication.
157+
duplication. (David Feuer)
136158

137-
### New instances
159+
* Migrate from test-framework to tasty. (Bodigrim)
138160

139-
* Add `Lift` instances for use with Template Haskell. Specifically:
140-
`Seq`, `ViewL`, and `ViewR` (in `Data.Sequence`), `Map`, `Set`,
141-
`IntMap`, `IntSet`, `Tree`, and `SCC` (in `Data.Graph`).
161+
* Migrate from gauge to tasty-bench. (Bodigrim)
162+
163+
* Enable `TypeOperators` to address a future GHC requirement.
164+
(Vladislav Zavialov)
165+
166+
* Work around an issue with unboxed arrays on big-endian systems.
167+
(Peter Trommler)
142168

143169
## 0.6.5.1
144170

containers/src/Data/Map/Internal.hs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3464,7 +3464,8 @@ keysSet (Bin sz kx _ l r) = Set.Bin sz kx (keysSet l) (keysSet r)
34643464
--
34653465
-- > argSet (fromList [(5,"a"), (3,"b")]) == Data.Set.fromList [Arg 3 "b",Arg 5 "a"]
34663466
-- > argSet empty == Data.Set.empty
3467-
3467+
--
3468+
-- @since 0.6.6
34683469
argSet :: Map k a -> Set.Set (Arg k a)
34693470
argSet Tip = Set.Tip
34703471
argSet (Bin sz kx x l r) = Set.Bin sz (Arg kx x) (argSet l) (argSet r)
@@ -3483,7 +3484,8 @@ fromSet f (Set.Bin sz x l r) = Bin sz x (f x) (fromSet f l) (fromSet f r)
34833484
--
34843485
-- > fromArgSet (Data.Set.fromList [Arg 3 "aaa", Arg 5 "aaaaa"]) == fromList [(5,"aaaaa"), (3,"aaa")]
34853486
-- > fromArgSet Data.Set.empty == empty
3486-
3487+
--
3488+
-- @since 0.6.6
34873489
fromArgSet :: Set.Set (Arg k a) -> Map k a
34883490
fromArgSet Set.Tip = Tip
34893491
fromArgSet (Set.Bin sz (Arg x v) l r) = Bin sz x v (fromArgSet l) (fromArgSet r)

0 commit comments

Comments
 (0)