NetLogo / NetLogo/Table-Extension

Allow (re)setting all table values at once

Open
#17 2 comments 0 reactions 0 assignees View on GitHub

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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.