dlist 0.8.0.7 → 0.8.0.8
raw patch · 5 files changed
+26/−13 lines, 5 filesdep ~QuickCheckPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: QuickCheck
API changes (from Hackage documentation)
Files
- ChangeLog.md +7/−0
- Data/DList.hs +8/−2
- LICENSE +1/−1
- README.md +7/−7
- dlist.cabal +3/−3
ChangeLog.md view
@@ -2,6 +2,13 @@ Change Log ========== +Version 0.8.0.8 (2020-04-02) *World Autism Awareness Day*+---------------------------------------------------------++#### Package changes++* Change QuickCheck upper bound from 2.14 to 2.15+ Version 0.8.0.7 (2019-08-05) *Independence Day in Burkina Faso* ---------------------------------------------------------------
Data/DList.hs view
@@ -14,7 +14,7 @@ ----------------------------------------------------------------------------- -- | -- Module : Data.DList--- Copyright : (c) 2006-2009 Don Stewart, 2013-2016 Sean Leather+-- Copyright : (c) 2006-2009 Don Stewart, 2013-2019 Sean Leather -- License : See LICENSE file -- -- Maintainer : sean.leather@gmail.com@@ -200,7 +200,7 @@ [] -> nill (x : xs) -> consit x (fromList xs) --- | /O(n)/. Return the head of the dlist+-- | /O(1)/. Return the head of the dlist head :: DList a -> a head = list (error "Data.DList.head: empty dlist") const @@ -323,6 +323,12 @@ foldr' f x = F.foldr' f x . toList {-# INLINE foldr' #-}+#endif++-- CPP: toList added to Foldable in base-4.8.0.0+#if MIN_VERSION_base(4,8,0)+ toList = Data.DList.toList+ {-# INLINE toList #-} #endif instance NFData a => NFData (DList a) where
LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2006-2009 Don Stewart, 2013-2016 Sean Leather+Copyright (c) 2006-2009 Don Stewart, 2013-2019 Sean Leather All rights reserved.
README.md view
@@ -17,7 +17,7 @@ 1. A novel representation of lists and its application to the function “reverse.” John Hughes. Information Processing Letters. Volume 22, Issue 3. 1986-03. Pages 141-144.- [[PDF](http://www.cs.tufts.edu/~nr/cs257/archive/john-hughes/lists.pdf)]+ [[PDF](https://www.cs.tufts.edu/~nr/cs257/archive/john-hughes/lists.pdf)] This is the original source for a representation of lists as first-class functions. @@ -25,20 +25,20 @@ 1. [Difference list](https://en.wikipedia.org/wiki/Difference_list). Wikipedia. -2. [Difference lists](https://wiki.haskell.org/Difference_list). Haskell.org Wiki.+2. [Difference list](https://wiki.haskell.org/Difference_list). Haskell.org Wiki. -3. [What is a DList?](https://stackoverflow.com/questions/3352418/what-is-a-dlist).+3. [What is a DList?](https://stackoverflow.com/questions/3352418/what-is-a-dlist) Stack Overflow. ### Blogs and Discussion -1. [Using Difference Lists](http://logicaltypes.blogspot.com/2008/08/using-difference-lists.html).+1. [Using Difference Lists](https://logicaltypes.blogspot.com/2008/08/using-difference-lists.html). Douglas M. Auclair. 2008-08-13. -2. [A Sort of Difference](https://archive.is/20140131124629/http://web.archive.org/web/20080918101635/comonad.com/reader/2008/a-sort-of-difference/).+2. [A Sort of Difference](https://web.archive.org/web/20080918101635/comonad.com/reader/2008/a-sort-of-difference/). Edward Kmett. 2008-09-18. -3. [Reference for technique wanted](http://thread.gmane.org/gmane.comp.lang.haskell.cafe/82827).+3. [Reference for technique wanted](https://www.mail-archive.com/haskell-cafe@haskell.org/msg83699.html). Richard O'Keefe, et al. 2010-10-31. 4. [24 Days of Hackage: dlist](https://ocharles.org.uk/blog/posts/2012-12-14-24-days-of-hackage-dlist.html).@@ -51,7 +51,7 @@ ([On Reddit](https://www.reddit.com/r/haskell/comments/1w5duf/demystifying_dlist/)). Tom Ellis. 2014-01-24. -7. [keepEquals with Difference Lists](http://logicaltypes.blogspot.com/2014/06/keepequals-with-difference-lists.html),+7. [keepEquals with Difference Lists](https://logicaltypes.blogspot.com/2014/06/keepequals-with-difference-lists.html). Douglas M. Auclair. 2014-06-21. ### Books
dlist.cabal view
@@ -1,5 +1,5 @@ name: dlist-version: 0.8.0.7+version: 0.8.0.8 synopsis: Difference lists description: Difference lists are a list-like type supporting O(1) append. This is@@ -10,7 +10,7 @@ license-file: LICENSE author: Don Stewart maintainer: Sean Leather <sean.leather@gmail.com>-copyright: 2006-2009 Don Stewart, 2013-2016 Sean Leather+copyright: 2006-2009 Don Stewart, 2013-2019 Sean Leather homepage: https://github.com/spl/dlist bug-reports: https://github.com/spl/dlist/issues extra-source-files: README.md,@@ -52,4 +52,4 @@ -- QuickCheck-2.10 is the first version supporting -- base-4.9 (ghc-8) without the Arbitrary NonEmpty -- instance, which we include ourselves.- QuickCheck >= 2.10 && < 2.14+ QuickCheck >= 2.10 && < 2.15