Paths modules should not import Prelude
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
**Describe the bug**
mixins interact weirdly with Paths in that if I change the Prelude to be something else, the Paths module fails to compile. I think the autogenerated modules should not ever be influenced by something like mixins.
**To Reproduce**
- add a Prelude mixin that overrides a function used in a Paths module
**Expected behavior**
id expect Paths modules to compile the exact same, no matter the environment.
**System information**
n/a
**Additional context**
#8689 might be relevant
Contributor guide
Research direction
Start by reproducing the issue with a Prelude mixin that overrides a function used by an autogenerated Paths module, then read the related discussion in #8689. Done means the Paths module compiles identically regardless of the Prelude or mixin environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100