haskell / haskell/cabal

Remove legacy code from code base

Open
#10,262 5 comments 5 reactions 0 assignees View on GitHub
meta: tracking type: refactor
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

Cabal and cabal-install have a large amount of legacy code.

Much legacy code for supporting different Haskell compilers, which is surely bitrotted at this point (untested on CI)

- [ ] Support for UHC
- [ ] Support for GHCJS
- [ ] Support for Haskell Suite

v1-commands have been deprecated for a long while

- [ ] Remove v1-commands

`nix` support is also legacy and unused to my knowledge

- [ ] Remove nix support

Please contribute to this issue by listing any other legacy parts of the code base which should be removed.

The cost of these code paths is real, they must also be updated when performing refactoring or other improvements (see #10256 for example).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.