Skip to content

Add another example to Integer.parse/1#15101

Merged
josevalim merged 4 commits intoelixir-lang:mainfrom
dersmon:main
Feb 12, 2026
Merged

Add another example to Integer.parse/1#15101
josevalim merged 4 commits intoelixir-lang:mainfrom
dersmon:main

Conversation

@dersmon
Copy link
Contributor

@dersmon dersmon commented Feb 11, 2026

"Remainder" does not mean the mathematical definition of the term.

I just tripped over this and thought maybe another, explicitly weird example might be helpful.

"Remainder" does not mean the mathematical definition of the term.
@whatyouhide
Copy link
Member

Maybe we can actually also reword the docs to call it "rest of the string" instead of "remainder"?

The term has a mathematical definition, which does not apply here and might be confusing.
@dersmon
Copy link
Contributor Author

dersmon commented Feb 11, 2026

If you are not sure about my new example, I can change it. I am working with classical archaeologists, otherwise I do not know why I landed on this one. 😉

Co-authored-by: Dave Lucia <dave@tvlabs.ai>
@josevalim josevalim merged commit 2ab126e into elixir-lang:main Feb 12, 2026
11 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants