1
1
mirror of https://github.com/github/semantic.git synced 2024-12-11 08:45:48 +03:00

🔥 a redundant equality constraint.

This commit is contained in:
Rob Rix 2018-04-24 12:35:34 -04:00
parent e6010b75cd
commit 70080feadb

View File

@ -81,9 +81,8 @@ graphImports :: ( Show ann
, Apply Show1 syntax
, Member Syntax.Identifier syntax
, Members '[Exc SomeException, Task] effs
, term ~ Term (Union syntax) ann
)
=> Package term -> Eff effs Abstract.ImportGraph
=> Package (Term (Union syntax) ann) -> Eff effs Abstract.ImportGraph
graphImports package = analyze (Analysis.SomeAnalysis (Analysis.evaluatePackage package `asAnalysisForTypeOfPackage` package)) >>= extractGraph
where
asAnalysisForTypeOfPackage :: ImportGraphAnalysis term effs value