[erlang-questions] Poor interface of string:to_integer/to_float
Richard Carlsson
carlsson.richard@REDACTED
Mon May 7 15:59:02 CEST 2012
On 05/07/2012 03:19 PM, 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?
Assuming that you intend to preserve backwards compatibility and just
make the functions more general, I don't see that an EEP is needed.
/Richard
More information about the erlang-questions
mailing list