JuliaCollections / JuliaCollections/DataStructures.jl
heap should be iterable
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 745
- Forks
- 261
- PR merge metrics
- No merged PRs in 30d
Description
collect(DataStructures.binary_maxheap([1,2,3]) gives a MethodError, when it seems a lot more sensible to be able to iterate over the values.
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 running collect(DataStructures.binary_maxheap([1,2,3])) and trace the implementation behind binary_maxheap. Check how iteration is defined for the heap, then confirm done when collecting the heap returns its values without a MethodError.
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
- Clearly specified
- Newbie friendliness
- 45/100