mirror of
https://github.com/github/semantic.git
synced 2024-12-21 22:01:46 +03:00
Add type signature
This commit is contained in:
parent
46274ad9ef
commit
9832779676
@ -49,6 +49,11 @@ instance ( Effectful (m term value)
|
||||
insertVertexName (moduleName m)
|
||||
liftAnalyze analyzeModule recur m
|
||||
|
||||
insertVertexName :: (Effectful (m term value)
|
||||
, Member (State ImportGraph) effects
|
||||
, MonadEvaluator term value (m term value effects))
|
||||
=> NonEmpty ByteString
|
||||
-> ImportGraphing m term value effects ()
|
||||
insertVertexName name = do
|
||||
ms <- askModuleStack
|
||||
let parent = maybe empty (vertex . moduleName) (listToMaybe ms)
|
||||
|
Loading…
Reference in New Issue
Block a user