Skip to content
Snippets Groups Projects
Commit baf78ca2 authored by Oleg Grenrus's avatar Oleg Grenrus
Browse files

Move ReadP out of Cabal (to cabal-install)

- Distribution.Compat.ReadP to Distribution.Deprecated.ReadP
- Distribution.Text to Distribution.Deprecated.Text
- all Text instances needed by cabal-install to Deprecated.Text too
- Distribution.ParseUtils to Distribution.Deprecated.ParseUtils
- Remove deprecated Distribution.PrettyUtils
- new Distribution.Text with

    display = prettyShow
    simpleParse = simpleParsec

  to not break too much stuff (Custom Setup.hs)
- parseInstalledPackageInfo type signature changed to use
  `base` types

This removes around 2k lines from Cabal the library.
git diff --stat shows less, as files are moved (git is smart).
Even so, total 300 lines removal at this point.
parent 547791ce
No related branches found
No related tags found
Loading
Showing
with 77 additions and 313 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment