[erlang-questions] Poor interface of string:to_integer/to_float
Tue May 8 00:08:23 CEST 2012
On 8/05/2012, at 1:19 AM, Robert Virding wrote:
> The interfaces to the functions string:to_integer/1 and string:to_float/1 is, to put it mildly, very poor. You get the impressions that someone needed special case functions which were then put into the libraries. Would it be possible to change them to something more useful? Shall I write an EEP?
Weren't we told that the EEP process wasn't appropriate/needed for small library changes?
For myself, I would like something that can read a number with underscore separators.
Even Java has finally seen _that_ light!
It may be hard to change the interface of existing functions,
but a description of the replacements you would like to see
would be interesting.
More information about the erlang-questions