drop* and take* only for specific element values

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Aug 13 14:24:04 PDT 2014


On Wednesday, 13 August 2014 at 21:22:31 UTC, Nordlöw wrote:
> unittest { dln([1, 2, 3].dropWhile(1)); }

should be

unittest { [1, 2, 3].dropWhile(1) == [2, 3]; }


More information about the Digitalmars-d-learn mailing list