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:
- Move all the code into the corresponding shorter
Prettyprinter modules, but re-export everything from the old modules.
- Wait a few versions in case there are any problems.
- Deprecate the old modules.
- Remove the old modules after waiting a bit longer.
Thoughts?
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 likeThe basic idea would be to replace the
Data.Text.Prettyprint.Docprefix with justPrettyprinter.The change would probably happen in multiple phases:
Prettyprintermodules, but re-export everything from the old modules.Thoughts?