-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
arrays[a, r, r, a, y, s][a, r, r, a, y, s]breakingThis change will break codeThis change will break codedeprecationThis change introduces or involves a deprecationThis change introduces or involves a deprecation
Milestone
Description
I was surprised to find we still have these methods. Instead, we should have a shift[!]
function that works on any array. Using >>
to move BitArray elements is arguably a pun, and I think the way we define it is arguably wrong:
julia> BitVector([1,1,1]) >> 1
3-element BitArray{1}:
0
1
1
>>
moves elements towards higher indices, while for integers >>
moves bits towards lower bit indices.
rfourquet, mbauman, ParadaCarleton and brenhinkeller
Metadata
Metadata
Assignees
Labels
arrays[a, r, r, a, y, s][a, r, r, a, y, s]breakingThis change will break codeThis change will break codedeprecationThis change introduces or involves a deprecationThis change introduces or involves a deprecation