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:
parent
021017b0e4
commit
050f8cf8dc
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user