practicalli / practicalli/clojure
Clojure Idiom - tuple
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 117
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
A Tuple in Clojure is a very simple data structure, usually represented as two related values in a vector
[value1 value2]
The value of a tuple is in its simplicity, although greater responsibility is required to use the tuple values in the desired way.
The tuple provides less structure and meaning than a hash-map, as the values in the tuple have no explicit key (although the first value could be perceived as the key, but then a hash-map representation would feel more appropriate)
Review Clojure Design Club discussions on tuples for more examples of how they are used.
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
Review the existing Clojure idiom documentation structure and the Clojure Design Club discussions on tuples for examples and expected placement. Document how tuples are represented and how they differ from hash-maps; completion should leave the topic integrated into the appropriate documentation section.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100