import SysTools ( newTempName )
import qualified SysTools
import Module
import Digraph ( SCC(..) )
import SysTools ( newTempName )
import qualified SysTools
import Module
import Digraph ( SCC(..) )
let mod = unLoc (ideclName i),
mod `notElem` excl_mods ]
let mod = unLoc (ideclName i),
mod `notElem` excl_mods ]
-> Maybe FastString -- package qualifier, if any
-> ModuleName -- Imported module
-> IsBootInterface -- Source import
-> Bool -- Record dependency on package modules
-> IO (Maybe FilePath) -- Interface file file
-> Maybe FastString -- package qualifier, if any
-> ModuleName -- Imported module
-> IsBootInterface -- Source import
-> Bool -- Record dependency on package modules
-> IO (Maybe FilePath) -- Interface file file
= do { -- Find the module; this will be fast because
-- we've done it once during downsweep
r <- findImportedModule hsc_env imp pkg
= do { -- Find the module; this will be fast because
-- we've done it once during downsweep
r <- findImportedModule hsc_env imp pkg