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

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