Skip to content

prettyprinter has very long module names #110

@sjakobi

Description

@sjakobi

I remember being frustrated by the long module names when working on dhall, especially when I had to reformat qualified imports after adding an import like

import qualified Data.Text.Prettyprint.Doc.Render.Terminal as Pretty

The basic idea would be to replace the Data.Text.Prettyprint.Doc prefix with just Prettyprinter.

The change would probably happen in multiple phases:

  1. Move all the code into the corresponding shorter Prettyprinter modules, but re-export everything from the old modules.
  2. Wait a few versions in case there are any problems.
  3. Deprecate the old modules.
  4. Remove the old modules after waiting a bit longer.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions