diff options
author | Ömer Sinan Ağacan <omeragacan@gmail.com> | 2019-11-26 10:45:45 +0300 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-11-29 08:25:28 -0500 |
commit | 7f695a20f5f9fe4952ca8cde45d73f3604a7cc29 (patch) | |
tree | 057027123853d3ff52c771c1671f8f150e18cd74 /docs/users_guide/utils.py | |
parent | 6985e0fc4f6fb30c1effd356d87c1a0629aa9cd0 (diff) | |
download | haskell-7f695a20f5f9fe4952ca8cde45d73f3604a7cc29.tar.gz |
Pass ModDetails with (partial) ModIface in HscStatus
(Partial) ModIface and ModDetails are generated at the same time, but
they're passed differently: ModIface is passed in HscStatus consturctors
while ModDetails is returned in a tuple. This refactors ModDetails
passing so that it's passed around with ModIface in HscStatus
constructors. This makes the code more consistent and hopefully easier
to understand: ModIface and ModDetails are really very closely related.
It makes sense to treat them the same way.
Diffstat (limited to 'docs/users_guide/utils.py')
0 files changed, 0 insertions, 0 deletions