JuliaArrays / JuliaArrays/MappedArrays.jl
Filtering a mapped array
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 88
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
filter(x->x<3, mappedarray(identity, 1:5)) currently returns an Array, but it would be reasonable to return a ReadOnlyMappedArray, right? I can make a PR.
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 with the issue's reproducer, filter(x->x<3, mappedarray(identity, 1:5)), and trace the filtering entry point for mapped arrays. Confirm the intended result is a ReadOnlyMappedArray, then add coverage showing the returned type and filtering behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100