mirror of
https://github.com/github/semantic.git
synced 2024-12-29 18:06:14 +03:00
Spell out the reference to the heap.
This commit is contained in:
parent
46a44854b4
commit
8f23e1653c
@ -42,7 +42,7 @@ cachingConfiguration :: (Cacheable term location (Cell location) value, Members
|
||||
-> TermEvaluator term location value effects value
|
||||
cachingConfiguration configuration values action = do
|
||||
modify' (cacheSet configuration values)
|
||||
result <- (,) <$> action <*> get
|
||||
result <- (,) <$> action <*> TermEvaluator getHeap
|
||||
fst result <$ modify' (cacheInsert configuration result)
|
||||
|
||||
putCache :: Member (OutCache term location value) effects
|
||||
|
Loading…
Reference in New Issue
Block a user