On Mon, Sep 21, 2009 at 10:57:15PM +0200, pugs-comm...@feather.perl6.nl wrote:
> Author: lwall
> Date: 2009-09-21 22:57:15 +0200 (Mon, 21 Sep 2009)
> New Revision: 28344

> @@ -1809,10 +1808,83 @@
>      10,20,30,40,50,60,70,80,90,
>      100,200,300,400,500,600,700,800,900
>  
> +If the right operand is a list and the first element of the list is
> +a function or C<*>, the second element of the list imposes a limit
> +on the prior sequence.  (The limit is inclusive on an exact match,
> +and in general is compared using C<!after> semantics, so an inexact
> +match is *not* included.)  Hence the preceding example may be rewritten
> +
> +    1   ... * + 1, 9
> +    10  ... * + 10, 90
> +    100 ... * + 100, 1000
> +
> +or as
> +
> +    1, 2, 3 ... *,
> +    10, 20, 30 ... *,
> +    100, 200, 300 ... *, 1000

I might be missing something subtle here, or a later correction, but why are
the last lines 1000, not 900?

Nicholas Clark

Reply via email to