Refactor tcExtendLocalFamInst a bit
authorSimon Peyton Jones <simonpj@microsoft.com>
Thu, 26 Apr 2018 13:04:29 +0000 (14:04 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Fri, 27 Apr 2018 16:19:05 +0000 (17:19 +0100)
commit0c01224bb95b3c0d6730ededaf04c9ab0892e297
tree3a31fd8cdcfcdead0465c347ce47034b6d40cff2
parent69119b2087ff6a016c2490981f01dfd72b971661
Refactor tcExtendLocalFamInst a bit

This patch just pulls out FamInst.loadDependentFamInstModules
as a separate function, and adds better comments.

Provoked by Trac #14759, comment:10.
compiler/rename/RnNames.hs
compiler/typecheck/FamInst.hs