Move parseInt and parseIntWithRadix from Float to Int module#83
Move parseInt and parseIntWithRadix from Float to Int module#83aspeddro wants to merge 2 commits intorescript-lang:mainrescript-lang/rescript-core:mainfrom aspeddro:remove-parse-int-from-floataspeddro/rescript-core:remove-parse-int-from-floatCopy head branch name to clipboard
parseInt and parseIntWithRadix from Float to Int module#83Conversation
|
|
|
The |
|
Returning an option seems to be a good choice. Some options:
I think the |
See #86 for said issue. |
parseIntandparseIntWithRadixto theIntmodule.Int.isNaNbecauseparseIntandparseIntWithRadixcan returnNaNTodo:
Close #69