Author: lwall
Date: 2009-10-05 17:32:04 +0200 (Mon, 05 Oct 2009)
New Revision: 28622

Modified:
   docs/Perl6/Spec/S03-operators.pod
   docs/Perl6/Spec/S32-setting-library/Numeric.pod
Log:
[S03] dehuffmanize excl_* slightly to emphasize boolean nature to reader
[S32] add i as constant


Modified: docs/Perl6/Spec/S03-operators.pod
===================================================================
--- docs/Perl6/Spec/S03-operators.pod   2009-10-05 14:38:57 UTC (rev 28621)
+++ docs/Perl6/Spec/S03-operators.pod   2009-10-05 15:32:04 UTC (rev 28622)
@@ -9,13 +9,14 @@
 
     Luke Palmer <l...@luqui.org>
     Larry Wall <la...@wall.org>
+    Darren Duncan <dar...@darrenduncan.net>
 
 =head1 VERSION
 
     Created: 8 Mar 2004
 
-    Last Modified: 29 Sep 2009
-    Version: 174
+    Last Modified: 5 Sep 2009
+    Version: 175
 
 =head1 Overview
 
@@ -3084,16 +3085,16 @@
 values as a two-element list representing the interval.  Ranges are
 not autoreversing: C<2..1> is always a null range.
 
-Range objects support C<.excl_min> and C<.excl_max> methods
+Range objects support C<.excludes_min> and C<.excludes_max> methods
 representing the exclusion (has C<^>) or inclusion (no C<^>) of each
 endpoint in the Range.
 
-    Range      | .min | .max | .excl_min   | .excl_max
+    Range      | .min | .max | .excludes_min | .excludes_max
     -----------+------+------+-------------+------------
-    1..10      | 1    | 10   | Bool::False | Bool::False
-    2.7..^9.3  | 2.7  | 9.3  | Bool::False | Bool::True
-    'a'^..'z'  | 'a'  | 'z'  | Bool::True  | Bool::False
-    1^..^10    | 1    | 10   | Bool::True  | Bool::True
+    1..10      | 1    | 10   | Bool::False   | Bool::False
+    2.7..^9.3  | 2.7  | 9.3  | Bool::False   | Bool::True
+    'a'^..'z'  | 'a'  | 'z'  | Bool::True    | Bool::False
+    1^..^10    | 1    | 10   | Bool::True    | Bool::True
 
 If used in a list context, a C<Range> object returns an iterator that
 produces a series of values starting at the min and ending at the max.
@@ -3142,8 +3143,8 @@
 An empty range cannot be iterated; it returns a C<Nil> instead.  An empty
 range still has a defined C<.min> and C<.max>, but one of the following is
 true:  1. The C<.min> is greater than the C<.max>.  2. The C<.min> is equal
-to the C<.max> I<and> at least one of C<.excl_min> or C<.excl_max> is true.
-3. Both C<.excl_min> and C<.excl_max> are true I<and> C<.min> and C<.max>
+to the C<.max> I<and> at least one of C<.excludes_min> or C<.excludes_max> is 
true.
+3. Both C<.excludes_min> and C<.excludes_max> are true I<and> C<.min> and 
C<.max>
 are consecutive values.
 
 Ranges that are iterated transmute into the corresponding series operator,

Modified: docs/Perl6/Spec/S32-setting-library/Numeric.pod
===================================================================
--- docs/Perl6/Spec/S32-setting-library/Numeric.pod     2009-10-05 14:38:57 UTC 
(rev 28621)
+++ docs/Perl6/Spec/S32-setting-library/Numeric.pod     2009-10-05 15:32:04 UTC 
(rev 28622)
@@ -67,6 +67,7 @@
 
     constant pi is export = 3.14159_26535_89793_23846_26433_83279_50288;
     constant e  is export = 2.71828_18284_59045_23536_02874_71352_66249;
+    constant i  is export = 1i;
 
 =over
 

Reply via email to