From 7f775e1ddebaeb4b8509b512b6d4b539d96258bd Mon Sep 17 00:00:00 2001 From: Greg Weber Date: Thu, 2 Oct 2014 09:11:23 -0700 Subject: [PATCH] document cache key --- yesod-core/Yesod/Core/TypeCache.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yesod-core/Yesod/Core/TypeCache.hs b/yesod-core/Yesod/Core/TypeCache.hs index 7be8a66d..7baf37d1 100644 --- a/yesod-core/Yesod/Core/TypeCache.hs +++ b/yesod-core/Yesod/Core/TypeCache.hs @@ -62,7 +62,7 @@ cached cache action = case clookup cache of -- Since 1.4.0 cachedBy :: (Monad m, Typeable a) => KeyedTypeMap - -> ByteString + -> ByteString -- ^ a cache key -> m a -- ^ cache the result of this action -> m (Either (KeyedTypeMap, a) a) -- ^ Left is a cache miss, Right is a hit cachedBy cache k action = case clookup k cache of