packages feed

filecache 0.2.8 → 0.2.9

raw patch · 2 files changed

+5/−3 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Data/FileCache.hs view
@@ -6,7 +6,7 @@ > cache <- newFileCache > o <- query cache "/path/to/file" computation -The computation will be used to populate the cache if this call results in a miss.+The computation will be used to populate the cache if this call results in a miss. The result is forced to WHNM. -} module Data.FileCache (FileCache, FileCacheR, newFileCache, killFileCache, invalidate, query, getCache, lazyQuery) where @@ -74,7 +74,9 @@                 [ handler _IOException (return . S.Left . fromString . show)                 , handler id           (withWatch . S.Left . fromString . show)                 ]--- | Just like `query`, but with the standard "Either" type.+-- | Just like `query`, but with the standard "Either" type. Note that it+-- is just there for easy interoperability with the more comme "Either"+-- type, as the result is still forced. lazyQuery :: IsString r           => FileCacheR r a           -> FilePath -- ^ Path of the file entry
filecache.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                filecache-version:             0.2.8+version:             0.2.9 synopsis:            A Linux-only cache system associating values to files. description:         A Linux-only cache system, that works by associating computation results with file names. When the files are modified, the cache entries are discarded. homepage:            http://lpuppet.banquise.net/