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

           Summary: Swap order of paramaters for std.range's "take"
           Product: D
           Version: 2.029
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: bugzi...@digitalmars.com
        ReportedBy: cbkbbej...@mailinator.com


According to the docs, in std.range, "take" takes the range as its second
parameter and 'n' as the first parameter. This ordering should be swapped, 1.
to be consistent with stride, advance, retreatN, and cycle, and 2. to allow the
syntax "a.take(n)" like with advance.


-- 

Reply via email to