ndmitchell/hlint
View on GitHub"Use fewer imports" suggestion when importing multiple fields from the same record
Open
#1,133 opened on Sep 17, 2020
good first issue
Repository metrics
- Stars
- (1,594 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
For instance, for the following line of code:
import Test.Hspec.Formatters (Formatter(failedFormatter), Formatter(footerFormatter))
Suggest the following as alternative:
import Test.Hspec.Formatters (Formatter(failedFormatter, footerFormatter))
Does it sound like a reasonable feature to add under "Use fewer imports" suggestion?