Add ktn_code:map/2
Nobody has claimed this yet.
- Dominant language
- Erlang
- Stars
- 18
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe
https://github.com/inaka/elvis_core/pull/395#issuecomment-2810045798
Describe the solution you'd like
I would like to have a function that will traverse the entire hierarchy of a node and its sub-nodes and will apply the same function to all of them.
Describe alternatives you've considered
Additional Context
The original idea for the implementation of the PR linked above with this new function would've included ktn_code:map(fun remove_location/1, Nodes).
Contributor guide
No contributing guide indexed for this repository
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 reviewing the linked elvis_core pull request and its referenced diff, then inspect the existing ktn_code API and the ktn_code:map/2 usage described in the issue. Done means the module exposes the requested traversal function and its behavior is covered by the repository's existing tests, if present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- erlang
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100