mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
Generalize runHeap over the term type.
This commit is contained in:
parent
c3cf286d9d
commit
ea174b2144
@ -151,7 +151,7 @@ lookupConcrete heap name = run . evalState IntSet.empty . runNonDet . inConcrete
|
||||
maybeA = maybe empty pure
|
||||
|
||||
|
||||
runHeap :: StateC (Heap (Term (Core.Ann :+: Core.Core) User)) m a -> m (Heap (Term (Core.Ann :+: Core.Core) User), a)
|
||||
runHeap :: StateC (Heap term) m a -> m (Heap term, a)
|
||||
runHeap = runState mempty
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user