ndmitchell/hlint

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

Open

#1 133 ouverte le 17 sept. 2020

Voir sur GitHub
 (5 commentaires) (0 réactions) (0 assignés)Haskell (208 forks)batch import
good first issue

Métriques du dépôt

Stars
 (1 594 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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?

Guide contributeur