Author: lwall Date: 2010-01-20 18:36:20 +0100 (Wed, 20 Jan 2010) New Revision: 29568
Modified: docs/Perl6/Spec/S03-operators.pod Log: [S03] tweak definition of when a series operator is considered infinite Modified: docs/Perl6/Spec/S03-operators.pod =================================================================== --- docs/Perl6/Spec/S03-operators.pod 2010-01-20 16:14:59 UTC (rev 29567) +++ docs/Perl6/Spec/S03-operators.pod 2010-01-20 17:36:20 UTC (rev 29568) @@ -15,8 +15,8 @@ Created: 8 Mar 2004 - Last Modified: 17 Dec 2009 - Version: 183 + Last Modified: 20 Jan 2010 + Version: 184 =head1 Overview @@ -1961,6 +1961,12 @@ 'Z' ... -> $old { my $new = $old.pred; $old ne 'A' and $new !before 'A' ?? $new !! () } +For purposes of deciding when to terminate the eager part of a 'mostly +eager' list, any series that terminates with an exact value (or that +starts another series with exact values) is considered finite, but any +other series that ends with a closure or C<*> is considered infinite +(even if extended with a closure that has internal logic to terminate). + =back Many of these operators return a list of C<Parcel>s, which depending on