Skip to content

Conversation

mcabbott
Copy link
Contributor

This is a companion to #41007, adding get to numbers. Since they are indexable, probably this makes sense?

I had a real live use for this, in extending repeat([1,2,3]; inner), which accepts both inner=2 and inner=(1,2).

Copy link
Member

@simeonschaub simeonschaub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM

@simeonschaub simeonschaub merged commit 3ec7824 into JuliaLang:master Jun 2, 2021
@mcabbott mcabbott deleted the get_num branch June 2, 2021 17:13
shirodkara pushed a commit to shirodkara/julia that referenced this pull request Jun 9, 2021
johanmon pushed a commit to johanmon/julia that referenced this pull request Jul 5, 2021
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