Skip to content

Too many import lists: let's make names unique and drop same-package import lists #2835

@ezyang

Description

@ezyang

I've recently done several refactors on the Cabal code base (moving around some core fields in order to make things cleaner, etc) and I've noticed the single biggest annoying thing about doing this is fixing up the import lists. EVERY SINGLE TIME. It is driving me completely batty, and wasting so much of my time.

I want to kill it with fire. Specifically:

  1. I'll delete every explicit import list in Cabal.
  2. Whenever there is a conflict, I'll disambiguate by renaming the identifiers to something unique, so that given any name, there is exactly one definition in Cabal.

I want some people to agree that we should do this, and then I'll do it.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions