JuliaArrays / JuliaArrays/StaticArrays.jl
Support for ConstructorBase
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 844
- Forks
- 159
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 3
Description
Is there any interest in adding support for ConstructorBase.constructorof to StaticArrays? I think it's as simple as adding the following, likely to convert.jl
ConstructionBase.constructorof(::Type{SA}) where {SA<:StaticArray} = SA
Best,
Alex
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 in convert.jl and review the existing StaticArrays conversion definitions alongside the requested ConstructionBase.constructorof method. Done means StaticArray types support ConstructorBase.constructorof as described, with the relevant tests passing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Feature
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100