NetLogo / NetLogo/Helio

result of `map list [1 2 3]`? (documentation enhancement request)

Open
#49 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

map list [1 2 3] behaves as desired, producing [[1] [2] [3]]. But, is this guaranteed? I have not been able to deduce it from the documentation. E.g., one might expect to have to use [# -> (list #)] instead of just list. And similarly for multiple lists (more than 2). Of course the existing behavior is much better!

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 reviewing the existing documentation for map and list, then read the issue comments for any decisions about the behavior. Document whether map list [1 2 3] and the equivalent operation with more than two lists are guaranteed, including the relevant alternative syntax if needed. Done means the behavior and its scope are explicit to readers.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.