Skip to content

Refactor `printMinimalImports` into two functions and reexport them

Currently the printMinimalImports function finds set of minimal imports and prints them into file.

But it's more convenient to have function that returns set of minimal imports that can later be used by external tools like source plugins without need to parse content of .import file. And without need to copy-paste existing function.

Trac metadata
Trac field Value
Version 8.4.3
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHC API
Test case
Differential revisions
BlockedBy
Related
Blocking
CC mpickering
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information