haskell / haskell/lsp

Unused build depdency on regex

Open Beginner friendly
#639 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
423
Forks
105
PR merge metrics
No merged PRs in 30d

Description

lsp-types/lsp-types.cabal contains regex in the build-depends for the generator executable. It is however never used. https://github.com/haskell/lsp/blob/master/lsp-types/generator/CodeGen.hs#L115 has `-- TODO: replace with regex` but that has not been implemented. regex depends on regex-pcre which depends on the end of life pcre1 library that Arch Linux wishes to remove. Would it be possible to remove the dependency? @felixonmars @dvzrv

Contributor guide

Open the contributing guide

Research direction

Start in lsp-types/lsp-types.cabal and inspect the generator executable's build-depends. Check generator/CodeGen.hs around line 115 to confirm the regex TODO is not implemented, then remove the unused dependency and verify that the generator still builds successfully without it.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
build-system
Issue type
Refactor
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.