Author: duff Date: 2010-02-24 17:20:23 +0100 (Wed, 24 Feb 2010) New Revision: 29824
Modified: docs/Perl6/Spec/S03-operators.pod Log: [S03] closure clarification for the LHS of &infix:<...> Modified: docs/Perl6/Spec/S03-operators.pod =================================================================== --- docs/Perl6/Spec/S03-operators.pod 2010-02-24 13:45:41 UTC (rev 29823) +++ docs/Perl6/Spec/S03-operators.pod 2010-02-24 16:20:23 UTC (rev 29824) @@ -1842,8 +1842,8 @@ This operator would be fairly useless if it could only return the literal values on the left. The power comes from generating -new values from the old ones. If a closure is found in the -left-hand list, it is not returned, but rather it is called +new values from the old ones. If the last item in the left-hand +list is a closure, it is not returned, but rather it is called on the tail of the existing list to produce a new value. The arity of the closure determines how many preceding values to use as input in generating the next value in the series. For @@ -1964,7 +1964,7 @@ But since "asymptotically approaching" is not the same as "equals", both of the following are infinite lists, as if you'd specified C<*> for the limit -rather tha 0: +rather than 0: 1,1/2,1/4 ... 0 # like 1,1/2,1/4 ... * 1,-1/2,1/4 ... 0 # like 1,-1/2,1/4 ... *