1
1
mirror of https://github.com/github/semantic.git synced 2024-12-18 12:21:57 +03:00

Use ModuleEffects in ImportGraphEff.

This commit is contained in:
Rob Rix 2018-08-15 11:33:30 -04:00
parent c04fc7d048
commit 93d79dfd30

View File

@ -195,13 +195,8 @@ runImportGraph lang (package :: Package term) f =
newtype ImportGraphEff address outerEffects a = ImportGraphEff
{ runImportGraphEff :: Eff ( ValueEffects address (Value address (ImportGraphEff address outerEffects))
( Exc (LoopControl address)
': Exc (Return address)
': Env address
': Deref (Value address (ImportGraphEff address outerEffects))
': Allocator address
': Reader ModuleInfo
': Reader Span
( ModuleEffects address (Value address (ImportGraphEff address outerEffects))
( Reader Span
': Reader PackageInfo
': Modules address
': Reader (ModuleTable (NonEmpty (Module (ModuleResult address))))
@ -216,7 +211,7 @@ newtype ImportGraphEff address outerEffects a = ImportGraphEff
': Fresh
': State (Heap address (Value address (ImportGraphEff address outerEffects)))
': outerEffects
)) a
))) a
}