1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 15:35:14 +03:00

Correct the 📝 for memoizeEval.

This commit is contained in:
Rob Rix 2018-03-07 11:42:54 -05:00
parent b7c0afb02e
commit b2b29974d6

View File

@ -126,7 +126,7 @@ converge f = loop
scatter :: (Alternative m, Foldable t, MonadEvaluator term v m) => t (a, Store (LocationFor v) v) -> m a
scatter = getAlt . foldMap (\ (value, store') -> Alt (putStore store' *> pure value))
-- | Evaluation of a single iteration of an analysis, given a 'MonadCacheIn' instance as an oracle for results and a 'MonadCacheOut' instance to record computed results in.
-- | Evaluation of a single iteration of an analysis, given an in-cache as an oracle for results and an out-cache to record computed results in.
memoizeEval :: forall v term
. ( Ord v
, Ord term