Proper way to raise awareness of a bug
Chris Piker
chris at hoopjump.com
Tue Oct 29 20:44:10 UTC 2024
On Tuesday, 29 October 2024 at 19:18:05 UTC, H. S. Teoh wrote:
> // This should do the job. Put it in a function if you need it
> // frequently.
> myInput.byChars.filter!(ch => ch != '_').to!int
That's similar to the workaround I used, but yours uses a lazy
range so it's nicer than mine. Thanks for sharing!
Of course it's a tiny issue, but normally phobos functions are
rather predictable so ironing out the final parts of phobos2
seems like a good idea.
More information about the Digitalmars-d-learn
mailing list