Skip to content

Remove duplication in imports #414

@tseenshe

Description

@tseenshe

It would be very useful if ormolu were to de-dupe import sections such as

import Data.List (nub)
import Data.List (nubBy)

into

import Data.List (nub, nubBy)

This would reduce the burden on tools that add imports such as haskell-tng-import-symbol-at-point

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions