haskell / haskell/cabal

Stop using Prelude at all in autogenerated Paths_<packageName>.hs modules

Open
#7,761 10 comments 0 reactions 0 assignees View on GitHub
Cabal: cmd/configure type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

* As proposed by @mikolaj in [the last pr](https://github.com/haskell/cabal/pull/7650#issuecomment-919260459) which removed a reference to a Prelude definition
* To not break projects using alternative preludes, like [policeman](https://github.com/kowainik/policeman/issues/65)
* It would be great to have some regression tests checking compiling Paths_ with completely disabled Prelude works
* Splitted from #7671

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.