jackfirth / jackfirth/resyntax

Collapse multiple provide statements into a single one

Open
#22 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

new lint
Dominant language
Racket
Stars
70
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Racket makes it possible to scatter provide forms at the toplevel of a module. When this is actually done, though, I find it makes code harder to read. Ideally, I'd like to open a Racket file and find a single provide form that tells me what the module provides. It would be great if resyntax could merge multiple provides into a single one.

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 examining how resyntax currently processes Racket modules and their top-level provide forms. Confirm that the intended result is one provide form containing everything supplied by the original multiple forms, then validate the transformation against representative modules.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.