NetLogo / NetLogo/Table-Extension
Allow (re)setting all table values at once
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 2
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
It would be very useful to be able to set the values for all keys in a table at once, for example to reset counters.
Considering the following table:
let fruit table:make
table:put fruit "apple" 2
table:put fruit "orange" 5
table:put fruit "banana" 3
Something like table:set-all fruit 0 should set all the values to 0.
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 locating the table extension implementation and the existing table primitives that read or update values. Use the NetLogo example in the issue to understand the expected operation, then verify that one operation assigns the requested value to every key in a table, including resetting counters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- data
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 42/100