https://issues.dlang.org/show_bug.cgi?id=13958
Peter Alexander <peter.alexander...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |peter.alexander...@gmail.co | |m --- Comment #2 from Peter Alexander <peter.alexander...@gmail.com> --- This isn't a bug. You cannot make assumptions about how many times joiner will call .front. Since map is a forward range, you cannot assume that joiner will only iterate once. Like bearophile, I would highly recommend using pure functions with map. --