mirror of
https://github.com/github/semantic.git
synced 2024-11-28 10:15:55 +03:00
Strengthen the constraints available to eval.
This commit is contained in:
parent
00e506cdec
commit
89d7bd5aaf
@ -57,7 +57,7 @@ instance Monoid ScopeGraph where
|
||||
scopeGraph
|
||||
:: (Monad term, Ord (term Addr))
|
||||
=> (forall sig m
|
||||
. (Has (Reader Path.AbsRelFile) sig m, Has (Reader Span) sig m, MonadFail m)
|
||||
. (Has (Domain term Addr ScopeGraph :+: Env Addr :+: A.Heap Addr ScopeGraph :+: Reader Path.AbsRelFile :+: Reader Span) sig m, MonadFail m)
|
||||
=> (term Addr -> m ScopeGraph)
|
||||
-> (term Addr -> m ScopeGraph)
|
||||
)
|
||||
@ -77,7 +77,7 @@ runFile
|
||||
, Ord (term Addr)
|
||||
)
|
||||
=> (forall sig m
|
||||
. (Has (Reader Path.AbsRelFile) sig m, Has (Reader Span) sig m, MonadFail m)
|
||||
. (Has (Domain term Addr ScopeGraph :+: Env Addr :+: A.Heap Addr ScopeGraph :+: Reader Path.AbsRelFile :+: Reader Span) sig m, MonadFail m)
|
||||
=> (term Addr -> m ScopeGraph)
|
||||
-> (term Addr -> m ScopeGraph)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user