mirror of
https://github.com/github/semantic.git
synced 2025-01-01 19:55:34 +03:00
Allow the evaluator to use the heap & env effects.
This commit is contained in:
parent
875a4087d6
commit
964d8e20d2
@ -62,7 +62,7 @@ type Heap = IntMap.IntMap
|
||||
concrete
|
||||
:: Applicative term
|
||||
=> (forall sig m
|
||||
. (Has (Domain term Addr (Concrete term)) sig m, Has (Reader Path.AbsRelFile) sig m, Has (Reader Span) sig m, MonadFail m)
|
||||
. (Has (Domain term Addr (Concrete term)) sig m, Has (A.Env Addr) sig m, Has (A.Heap Addr (Concrete term)) sig m, Has (Reader Path.AbsRelFile) sig m, Has (Reader Span) sig m, MonadFail m)
|
||||
=> (term Addr -> m (Concrete term))
|
||||
-> (term Addr -> m (Concrete term))
|
||||
)
|
||||
@ -82,7 +82,7 @@ runFile
|
||||
, Has (A.Heap Addr (Concrete term)) sig m
|
||||
)
|
||||
=> (forall sig m
|
||||
. (Has (Domain term Addr (Concrete term)) sig m, Has (Reader Path.AbsRelFile) sig m, Has (Reader Span) sig m, MonadFail m)
|
||||
. (Has (Domain term Addr (Concrete term)) sig m, Has (A.Env Addr) sig m, Has (A.Heap Addr (Concrete term)) sig m, Has (Reader Path.AbsRelFile) sig m, Has (Reader Span) sig m, MonadFail m)
|
||||
=> (term Addr -> m (Concrete term))
|
||||
-> (term Addr -> m (Concrete term))
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user