Skip to content

Commit 3a159d7

Browse files
committed
Kore.Step.Function.Memo: Rename Key to CacheKey
1 parent 282737e commit 3a159d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kore/src/Kore/Step/Function/Memo.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import qualified Kore.Step.Function.Memo as Memo
1212

1313
module Kore.Step.Function.Memo
1414
( Self (..)
15-
, Key
15+
, CacheKey
1616
, Cache
1717
, forgetful
1818
, simple
@@ -61,10 +61,10 @@ forgetful :: Applicative monad => Self monad
6161
forgetful = Self { recall = \_ -> pure Nothing, record = \_ _ -> pure () }
6262

6363
-- | The concrete function pattern used as a @Key@ into the memoization cache.
64-
type Key = Application Symbol (TermLike Concrete)
64+
type CacheKey = Application Symbol (TermLike Concrete)
6565

6666
-- | The memoization @Cache@.
67-
type Cache = HashMap Key (TermLike Concrete)
67+
type Cache = HashMap CacheKey (TermLike Concrete)
6868

6969
{- | The simple memoizer.
7070

0 commit comments

Comments
 (0)