JuliaCollections / JuliaCollections/DataStructures.jl
accessor function for default of DefaultDict
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 745
- Forks
- 261
- PR merge metrics
- No merged PRs in 30d
Description
It would be nice to have an accessor (reader) function for the default slot of DefaultDicts.
get(::DefaultDict) could also work, but may be too much of a pun.
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
Locate the DefaultDict implementation and its existing public accessors, then review how the default slot is represented and exposed. Decide on the accessor name, including whether get(::DefaultDict) is appropriate, and add coverage showing that it returns the dictionary's default value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100