Skip to content

Refactor cpad functionality to match lpad and rpad#22186

Closed
djsegal wants to merge 1 commit intoJuliaLang:masterfrom
djsegal:master
Closed

Refactor cpad functionality to match lpad and rpad#22186
djsegal wants to merge 1 commit intoJuliaLang:masterfrom
djsegal:master

Conversation

@djsegal
Copy link
Copy Markdown

@djsegal djsegal commented Jun 2, 2017

@StefanKarpinski
Copy link
Copy Markdown
Member

I think that we should not be exporting cpad at all – we should delete it instead. The only use of cpad within base itself is a fairly marginal one to print an error in Pkg, which can be replaced by an inlined version of the appropriate lpad and rpad calls.

@djsegal
Copy link
Copy Markdown
Author

djsegal commented Jun 5, 2017

Sounds good to me

I just thought it needed to match the other two or get deleted

// as a side reference, this might be an interesting read: how lpad broke the internet

@ararslan ararslan added the strings "Strings!" label Jun 13, 2017
@fredrikekre fredrikekre mentioned this pull request Aug 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

strings "Strings!"

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants