[Issue 16209] std.string.isNumeric can work with forward ranges

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Dec 23 13:16:36 PST 2016


https://issues.dlang.org/show_bug.cgi?id=16209

Andrei Alexandrescu <andrei at erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrei at erdani.com

--- Comment #4 from Andrei Alexandrescu <andrei at erdani.com> ---
I think we should just undocument `isNumeric` and cease enhancing it. It's a
terrible function. A simple way to figure out whether something is numeric is
simply parse it as a number - the work done is similar and you get the number
too.

--


More information about the Digitalmars-d-bugs mailing list