jackfirth / jackfirth/resyntax
Collapse multiple provide statements into a single one
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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