Skip to content

Conversation

@mkitti
Copy link
Contributor

@mkitti mkitti commented Aug 6, 2021

Several methods could be generalized to work with AbstractUnitRange rather than just UnitRange. There are now several AbstractUnitRange subtypes:

julia> subtypes(AbstractUnitRange)
4-element Vector{Any}:
 Base.IdentityUnitRange
 Base.OneTo
 Base.Slice
 UnitRange

This PR allows setindex!, deleteat!, and splice! to be applied to Array and AbstractUnitRange.

@mkitti mkitti marked this pull request as ready for review August 17, 2021 00:44
@vtjnash vtjnash merged commit 14e1ba0 into JuliaLang:master Aug 20, 2021
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Feb 22, 2022
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants