[Issue 9674] std.algorithm.filter problems with non-deterministic _input.front

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 9 15:49:52 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9674



--- Comment #4 from timon.gehr at gmx.ch 2013-03-09 15:49:49 PST ---
(In reply to comment #3)
> I am trying your code, but I see duplications in the output:
> ...
> 
> void main() {
>     100.iota.map!(_ => uniform(0, 10))
>     .distinct3.array.sort.writeln; //
> }

The code depends on front of the source range being consistent across calls.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list