TCache 0.10.2.1 → 0.10.2.2
raw patch · 2 files changed
+4/−5 lines, 2 files
Files
- Data/TCache/IndexQuery.hs +2/−3
- TCache.cabal +2/−2
Data/TCache/IndexQuery.hs view
@@ -102,7 +102,7 @@ import System.IO.Unsafe import Data.ByteString.Lazy.Char8(pack, unpack) -class ( Read a, Show a+class (Read reg, Read a, Show reg, Show a , IResource reg,Typeable reg , Typeable a,Ord a) => Queriable reg a@@ -143,14 +143,13 @@ getIndexPersist= unsafePerformIO $ readIORef _indexPersist + keyIndex treg tv= "index " ++ show treg ++ show tv instance (Typeable reg, Typeable a) => Indexable (Index reg a) where key map= keyIndex typeofreg typeofa where [typeofreg, typeofa]= typeRepArgs $! typeOf map-- instance (Queriable reg a, Typeable reg, Typeable a) => IResource (Index reg a) where keyResource = key
TCache.cabal view
@@ -1,5 +1,5 @@ name: TCache-version: 0.10.2.1+version: 0.10.2.2 cabal-version: >= 1.6 build-type: Simple license: BSD3@@ -27,7 +27,7 @@ In this release: . This release:- Inproved default persistence mechanism to permit different+ Fix class Queriable in the IndexQuery module