Add option to fully expand explicit import list (import Foo (Bar (..))
-> import Foo (Bar (Baz))
)
#4287
Labels
type: enhancement
New feature or request
Is your enhancement request related to a problem? Please describe.
Currently, the "make imports explicit" option produces something like
producing an import list like
I (personally) prefer a fully explicit import list -- one that imports all data constructors.
The primary reason is because it can help greatly in tracking down in-scope names when code is broken and tooling fails.
Thus, I'd prefer
Describe the solution you'd like
I would like to see:
Bar (..)
) imports to fully explicit onesDescribe alternatives you've considered
Alternatives would include:
Bar (..)
); make fully explicit (Bar(Baz)
)Additional context
None
The text was updated successfully, but these errors were encountered: