grouped-list 0.1.0.0 → 0.1.1.0
raw patch · 3 files changed
+11/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Data.GroupedList: empty :: Grouped a
Files
- CHANGELOG.md +4/−0
- Data/GroupedList.hs +5/−0
- grouped-list.cabal +2/−2
+ CHANGELOG.md view
@@ -0,0 +1,4 @@++# 0.1.1.0++* Addition of 'empty'.
Data/GroupedList.hs view
@@ -11,6 +11,7 @@ ( -- * Type Grouped -- * Builders+ , empty , point , concatMap , replicate@@ -116,6 +117,10 @@ -- behave well in the abundance of sublists that have all their -- elements equal. newtype Grouped a = Grouped (Seq (Group a)) deriving Eq++-- | Grouped list with no elements.+empty :: Grouped a+empty = Grouped S.empty -- | Build a grouped list from a regular list. It doesn't work if -- the input list is infinite.
grouped-list.cabal view
@@ -1,5 +1,5 @@ name: grouped-list-version: 0.1.0.0+version: 0.1.1.0 synopsis: Grouped lists. Equal consecutive elements are grouped. description: Grouped lists work like regular lists, except for two conditions:@@ -24,7 +24,7 @@ cabal-version: >=1.10 bug-reports: https://github.com/Daniel-Diaz/grouped-list/issues homepage: https://github.com/Daniel-Diaz/grouped-list/blob/master/README.md-extra-source-files: README.md+extra-source-files: README.md, CHANGELOG.md library default-language: Haskell2010