packages feed

lrucache 1.2.0.0 → 1.2.0.1

raw patch · 3 files changed

+9/−4 lines, 3 filesdep ~containers

Dependency ranges changed: containers

Files

changes.txt view
@@ -1,3 +1,8 @@+** 1.2.0.1+* Bumped version bound on containers. Pull request contributed by mstksg+* Finally fixed long-standing error in insertInforming++ ** 1.2.0.0 * fix build warning on GHC 7.10 * add insertInforming
lrucache.cabal view
@@ -1,5 +1,5 @@ Name:                lrucache-Version:             1.2.0.0+Version:             1.2.0.1 Synopsis:            a simple, pure LRU cache License:             BSD3 License-file:        LICENSE@@ -30,7 +30,7 @@ Source-repository this   type:              git   location:          https://github.com/chowells79/lrucache.git-  tag:               1.2.0.0+  tag:               1.2.0.1  Library   Exposed-modules:@@ -41,7 +41,7 @@    Build-depends:         base >= 4 && < 5,-        containers >= 0.2 && < 0.6,+        containers >= 0.2 && < 0.7,         contravariant >= 0.5 && < 2  
src/Data/Cache/LRU/Internal.hs view
@@ -143,7 +143,7 @@        -- create a new LRU with a new first item, and       -- conditionally dropping the last item-      add firstKey = if full then (lru'', Just (key, val))+      add firstKey = if full then (lru'', Just (lastKey, value lastLV))                      else (lru', Nothing)           where             -- add a new first item