Author: jimmy
Date: 2009-08-06 18:07:31 +0200 (Thu, 06 Aug 2009)
New Revision: 27883
Modified:
docs/Perl6/Spec/S02-bits.pod
Log:
[Spec/S02-bits.pod] fixed spec, see S12 for more.
Modified: docs/Perl6/Spec/S02-bits.pod
===================================================================
--- docs/Perl6/Spec/S02-bits.pod 2009-08-06 13:14:15 UTC (rev 27882)
+++ docs/Perl6/Spec/S02-bits.pod 2009-08-06 16:07:31 UTC (rev 27883)
@@ -638,9 +638,9 @@
metaclass instance managing it, regardless of whether the object
is defined:
- 'x'.HOW.methods; # get available methods for strings
- Str.HOW.methods; # same thing with the prototype object Str
- HOW(Str).methods; # same thing as function call
+ 'x'.HOW.methods('x'); # get available methods for strings
+ Str.HOW.methods(Str); # same thing with the prototype object Str
+ HOW(Str).methods(Str); # same thing as function call
'x'.methods; # this is likely an error - not a meta object
Str.methods; # same thing
@@ -649,7 +649,7 @@
=item *
-PerlĀ 6 intrinsically supports big integers and rationals through its
+Perl 6 intrinsically supports big integers and rationals through its
system of type declarations. C<Int> automatically supports promotion
to arbitrary precision, as well as holding C<Inf> and C<NaN> values.
Note that C<Int> assumes 2's complement arithmetic, so C<+^1 == -2>