deque 0.4.2 → 0.4.2.1
raw patch · 3 files changed
+7/−1 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- deque.cabal +1/−1
- library/Deque/Lazy/Defs.hs +3/−0
- library/Deque/Strict/Defs.hs +3/−0
deque.cabal view
@@ -1,5 +1,5 @@ name: deque-version: 0.4.2+version: 0.4.2.1 synopsis: Double-ended queues description: Strict and lazy implementations of Double-Ended Queue (aka Dequeue or Deque)
library/Deque/Lazy/Defs.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-| Definitions of lazy Deque. @@ -249,7 +250,9 @@ Deque bConsList bSnocList -> bConsList <> foldl' (flip (:)) accBConsList bSnocList in foldr aStep (foldr aStep [] (List.reverse aSnocList)) aConsList in Deque consList []+#if !(MIN_VERSION_base(4,13,0)) fail = const mempty+#endif instance Alternative Deque where empty = mempty
library/Deque/Strict/Defs.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-| Definitions of strict Deque. @@ -261,7 +262,9 @@ Deque bConsList bSnocList -> StrictList.prependReversed bConsList (bSnocList <> accBSnocList) in foldl' aStep (foldl' aStep StrictList.Nil aConsList) (StrictList.reverse aSnocList) in Deque StrictList.Nil snocList+#if !(MIN_VERSION_base(4,13,0)) fail = const mempty+#endif instance Alternative Deque where empty = mempty