ndmitchell/hlint

"Use fewer imports" suggestion when importing multiple fields from the same record

Open

#1,133 opened on Sep 17, 2020

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Haskell (1,594 stars) (208 forks)batch import
good first issue

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?

Contributor guide