haskell / haskell/haskell-language-server
Add support for `PmAltLit` in case-split plugin
- Dominant language
- Haskell
- Stars
- 3k
- Forks
- 455
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 13
Description
Right now, I don't know what this even means, but [here is `PmAltCon`](https://hackage-content.haskell.org/package/ghc-9.14.1/docs/GHC-HsToCore-Pmc-Solver-Types.html#t:PmAltCon) and its two ctors [`PmAltConLike`](https://hackage-content.haskell.org/package/ghc-9.14.1/docs/GHC-HsToCore-Pmc-Solver-Types.html#t:PmAltConLike) and [`PmAltLit`](https://hackage-content.haskell.org/package/ghc-9.14.1/docs/GHC-HsToCore-Pmc-Solver-Types.html#t:PmAltLit).
Originally considered during [my GSoC 2026 project](https://gist.github.com/Aster89/69a57c364ec2d0cc89f474cc3d194371#future-work--stretch-goals).
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the case-split plugin and the GHC PmAltCon documentation linked in the issue, focusing on the PmAltLit constructor and how it differs from PmAltConLike. Review the referenced GSoC 2026 stretch-goals discussion to establish the intended scope; done means the plugin supports PmAltLit case splitting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100