Wolfgang Jeltsch pushed to branch wip/jeltsch/more-efficient-home-unit-imports-finding at Glasgow Haskell Compiler / GHC Commits: 67bb7a1e by Wolfgang Jeltsch at 2026-05-12T14:57:52+03:00 Add documentation to `rankedHomeUnitDeps` - - - - - 1 changed file: - compiler/GHC/Unit/Finder.hs Changes: ===================================== compiler/GHC/Unit/Finder.hs ===================================== @@ -287,6 +287,9 @@ findImportedModuleNoHsc fc fopts ue home_module_name_providers_map mb_home_unit homeUnitEnv_dflags (ue_findHomeUnitEnv uid ue) ] +-- | Yields the unit IDs from the given set as a list with those that refer to +-- providers of the given home module name coming first. This is to prioritize +-- such providers during module finding. rankedHomeUnitDeps :: HomeModuleNameProvidersMap -> ModuleName -> Set UnitId View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/67bb7a1e2f3da63d82fd1e68ca2c0676... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/67bb7a1e2f3da63d82fd1e68ca2c0676... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Wolfgang Jeltsch (@jeltsch)