mirror of
https://github.com/github/semantic.git
synced 2025-01-02 04:10:29 +03:00
💅
This commit is contained in:
parent
89ad50eb9a
commit
0fc01f2149
@ -66,6 +66,7 @@ declare :: ( Carrier sig m
|
||||
)
|
||||
=> Declaration
|
||||
-> Relation
|
||||
-> AccessControl
|
||||
-> Span
|
||||
-> Maybe address
|
||||
-> Evaluator term address value m ()
|
||||
@ -167,8 +168,8 @@ lookupScope :: ( Member (Resumable (BaseError (ScopeError address))) sig
|
||||
, Carrier sig m
|
||||
, Ord address
|
||||
)
|
||||
=> address
|
||||
-> Evaluator term address value m (Scope address)
|
||||
=> address
|
||||
-> Evaluator term address value m (Scope address)
|
||||
lookupScope address = maybeM (throwScopeError LookupScopeError) . ScopeGraph.lookupScope address =<< get
|
||||
|
||||
declarationsByRelation :: ( Member (State (ScopeGraph address)) sig
|
||||
|
Loading…
Reference in New Issue
Block a user