IntersectMBO / IntersectMBO/cardano-node-emulator

Homogenize optics usage using `optics-core`

Open
#65 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
7
Forks
13
PR merge metrics
No merged PRs in 30d

Description

The new preferred way of defining optics is to use `optics-core` which is very complete. `lens` still can be found in our dependency tree, sometimes alongside `microlens`. We need to proceed as follow:
* Each usage of `lens`, `microlens` or other optics library corresponding to queries to other library that requires it is legit
* Each other usage should be replaced by a similar call in `optics-core`.

Contributor guide

Open the contributing guide

Research direction

Search the repository for uses of `lens`, `microlens`, and other optics libraries, then inspect each use to determine whether it supports a query to another library. Replace only non-legitimate optics usage with equivalent `optics-core` calls, leaving required integrations intact; completion means no unnecessary alternative optics usage remains.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.