Expose 'moduleToPkgConfAll' from 'PackageState'
authorAlec Theriault <alec.theriault@gmail.com>
Wed, 5 Sep 2018 12:27:40 +0000 (14:27 +0200)
committerKrzysztof Gogolewski <krz.gogolewski@gmail.com>
Wed, 5 Sep 2018 12:27:41 +0000 (14:27 +0200)
commite29ac2db000efead4610b3ce674aa3d0060238cf
tree8965dcd3510f040a9738c8158c2c4fe7d7188d06
parentecde9546e7768a57bb57d742c8ef3b7cf7fde80e
Expose 'moduleToPkgConfAll' from 'PackageState'

Summary:
Having direct access to this field is going to enable Haddock to
compute in batch which modules to load before looking up instances
of external packages.

Reviewers: bgamari, monoidal

Reviewed By: monoidal

Subscribers: rwbarton, carter

Differential Revision: https://phabricator.haskell.org/D5100
compiler/main/Packages.hs