[Issue 19642] std.range.slide!(No.withPartial) on lengthless forward range: get empty when expecting one window

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 7 06:21:11 UTC 2019


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

Jon Degenhardt <jrdemail2000-dlang at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jrdemail2000-dlang at yahoo.co
                   |                            |m

--- Comment #1 from Jon Degenhardt <jrdemail2000-dlang at yahoo.com> ---
Another example (encountered writing nlp code manipulating ngrams):

"ab cd".splitter(' ').slide!(No.withPartial)(2)

Should be [["ab", "cd"]], actual is [].

--


More information about the Digitalmars-d-bugs mailing list