mirror of
https://github.com/github/semantic.git
synced 2024-12-18 12:21:57 +03:00
Use ValueEffects in ImportGraphEff.
This commit is contained in:
parent
263b068984
commit
c04fc7d048
@ -194,8 +194,8 @@ runImportGraph lang (package :: Package term) f =
|
||||
in extractGraph <$> runEvaluator (runImportGraphAnalysis (evaluate lang analyzeModule id runAddressEffects (Concrete.runFunction coerce coerce) (ModuleTable.toPairs (packageModules package) >>= toList . snd)))
|
||||
|
||||
newtype ImportGraphEff address outerEffects a = ImportGraphEff
|
||||
{ runImportGraphEff :: Eff ( Function address (Value address (ImportGraphEff address outerEffects))
|
||||
': Exc (LoopControl address)
|
||||
{ runImportGraphEff :: Eff ( ValueEffects address (Value address (ImportGraphEff address outerEffects))
|
||||
( Exc (LoopControl address)
|
||||
': Exc (Return address)
|
||||
': Env address
|
||||
': Deref (Value address (ImportGraphEff address outerEffects))
|
||||
@ -216,7 +216,7 @@ newtype ImportGraphEff address outerEffects a = ImportGraphEff
|
||||
': Fresh
|
||||
': State (Heap address (Value address (ImportGraphEff address outerEffects)))
|
||||
': outerEffects
|
||||
) a
|
||||
)) a
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user