Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 2c28e53

Browse files
committed
🔥 the FrameId reader effect.
1 parent 15e5731 commit 2c28e53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

semantic-core/src/Analysis/FlowInsensitive.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ cacheTerm eval term = do
6767
result <- eval term
6868
result <$ modify (Cache . Map.insertWith (<>) term (Set.singleton (result :: a)) . unCache)
6969

70-
runHeap :: address -> ReaderC (FrameId address) (StateC (Heap address a) m) b -> m (Heap address a, b)
71-
runHeap addr m = runState (Map.singleton addr Set.empty) (runReader (FrameId addr) m)
70+
runHeap :: address -> StateC (Heap address a) m b -> m (Heap address a, b)
71+
runHeap addr m = runState (Map.singleton addr Set.empty) m
7272

7373
-- | Fold a collection by mapping each element onto an 'Alternative' action.
7474
foldMapA :: (Alternative m, Foldable t) => (b -> m a) -> t b -> m a

0 commit comments

Comments
 (0)