haskell / haskell/haskell-language-server
hls-case-split-plugin: `appendMissingPats` should be moved to ghc-exactprint
Open
component: hls-case-split-plugin
type: enhancement
- Dominant language
- Haskell
- Stars
- 3k
- Forks
- 455
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 13
Description
`appendMissingPatterns` in the `hls-case-split-plugin` is the work-horse to append patterns to a case expression.
It is a high-level operation and is not specific to HLS. Other consumers should be able to use it as well.
Also, if we moved it to `ghc-exactprint`, then HLS doesn't have to maintain it any more and updates to ghc-exactprint annotations could be applied immediately.
This could help long-term maintainability of the case split plugin.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.