[Issue 18929] std.range.chain with single elements too

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Aug 15 23:32:31 UTC 2018


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

Seb <greensunny12 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |bootcamp
                 CC|                            |greensunny12 at gmail.com

--- Comment #1 from Seb <greensunny12 at gmail.com> ---
FWIW the built-in concatenation operator also allows this already:

---
([1, 2, 3] ~ 42 ~ [42, 43]).writeln; // [1, 2, 3, 42, 42, 43]
---

https://run.dlang.io/is/md3qKz

--


More information about the Digitalmars-d-bugs mailing list