[Issue 12987] New: topN should return the top portion of the range

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jun 24 15:08:22 PDT 2014


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

          Issue ID: 12987
           Summary: topN should return the top portion of the range
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: Phobos
          Assignee: nobody at puremagic.com
          Reporter: andrei at erdani.com

This oversight makes topN really awkward to use with pipes and filters. See
e.g. http://channel9.msdn.com/Events/Lang-NEXT/Lang-NEXT-2014/D 25:23 where I
use sort and take instead of topN.

--


More information about the Digitalmars-d-bugs mailing list