July 17, 2009 [Issue 3184] New: std.algorithm.until should work like "find" | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=3184 Summary: std.algorithm.until should work like "find" Product: D Version: 2.031 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: rinick@gmail.com int[] arr = [2,4,7,8,10]; find(arr,7); // OK find!("a>b")(arr,7); // OK find!("a&1")(arr); // OK until(arr,7); // OK until!("a>b")(arr,7);// OK until!("a&1")(arr); // Error require 2 parameters Have to use until!("a&1")(arr, 0). However the second parameter is never used here. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 28, 2009 [Issue 3184] std.algorithm.until should work like "find" | ||||
---|---|---|---|---|
| ||||
Posted in reply to rinick@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=3184 Andrei Alexandrescu <andrei@metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation