1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00

Clarify the docs for getsCache.

This commit is contained in:
Rob Rix 2017-12-21 15:53:26 -05:00
parent 021017b0e4
commit 050f8cf8dc

View File

@ -50,7 +50,7 @@ instance (State (Cache (LocationFor v) t v) :< fs) => MonadCacheOut t v (Eff fs)
getCache = get
putCache = put
-- | Project a value out of the cache.
-- | Project a value out of the out-cache.
getsCache :: MonadCacheOut t v m => (Cache (LocationFor v) t v -> a) -> m a
getsCache f = f <$> getCache