haskell / haskell/lsp

Consider switching to microlens or overloaded dot syntax?

Open
#465 9 comments 0 reactions 0 assignees View on GitHub
v3
Dominant language
Haskell
Stars
423
Forks
105
PR merge metrics
No merged PRs in 30d

Description

Hi,

I saw that `lsp` has a dependency on `lens`, which is a fairly large dependency.
Would it be possible to swap it out for an alternative such as overloaded dot syntax or `microlens`?
I'm asking this because my compiler's build time almost doubled just including this library.

Are there any things blocking this? Or is there another reason behind it?

Contributor guide

Open the contributing guide

Research direction

Start by locating the lsp dependency declaration and reviewing where lens is used. Compare those uses with the proposed overloaded dot syntax or microlens alternatives, then verify that the dependency can be removed without changing behavior or worsening build-time concerns.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
devtools
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.