queryverse / queryverse/DataValues.jl
Using Any as a lower bound
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 14
- Forks
- 6
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 2
Description
This isn't an issue per se, just curious (I am researching Julia subtyping, and we are looking into lower-bounds usages)...
Is there a reason to use A::AbstractArray{S,N} with S >: Any instead of A::AbstractArray{Any,N}?
It seems that there shouldn't be any types distinct from Any that would be supertypes of Any.
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 src/array/constructors.jl at line 78 and review the surrounding constructor code. Check Julia's handling of the shown lower-bound type parameter and compare it with the intended array element-type behavior; the issue provides no defined change or completion test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100