tweag / tweag/linear-base

Try to get rid of `Instances` internal modules

Open
#396 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: feature request
Dominant language
Haskell
Stars
359
Forks
45
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.

Orphan instances should be avoided as much as possible. @treeowl showed some progress in this direction in https://github.com/tweag/linear-base/pull/394, where he was able to remove a lot of content from several Instances.hs files. The idea is to continue the work in this direction.

Describe the solution you'd like

Ideally, no orphan instances, and no Instances.hs module.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing pull request #394 and locating the remaining Instances.hs modules in the repository. Determine which orphan instances and module contents can be relocated or removed, with completion defined as eliminating the Instances.hs modules where possible and avoiding orphan instances.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
tooling
Issue type
Feature
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.