ndmitchell/hlint

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

Open

#1133 aperta il 17 set 2020

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)Haskell (208 fork)batch import
good first issue

Metriche repository

Star
 (1594 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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?

Guida contributor