Author: jimmy Date: 2009-10-11 08:22:37 +0200 (Sun, 11 Oct 2009) New Revision: 28749
Modified: docs/Perl6/Spec/S02-bits.pod Log: [Spec/S02] updated a bit format. Modified: docs/Perl6/Spec/S02-bits.pod =================================================================== --- docs/Perl6/Spec/S02-bits.pod 2009-10-11 04:09:37 UTC (rev 28748) +++ docs/Perl6/Spec/S02-bits.pod 2009-10-11 06:22:37 UTC (rev 28749) @@ -494,7 +494,8 @@ # and is implemented by the MyScalar class my Int $x is MyScalar; -Note that C<$x> is also initialized to the C<Int> type object. See below for more on this. +Note that C<$x> is also initialized to the C<Int> type object. See below for +more on this. =item * @@ -507,12 +508,13 @@ $spot.defined; # False say $spot; # "Dog" -Any type name used as a value is an undefined instance of -that type's prototype object, or I<type object> for short. See S12 for more on that. +Any type name used as a value is an undefined instance ofthat type's +prototype object, or I<type object> for short. See S12 for more on that. + Any type name in rvalue context is parsed as a single type value and -expects no arguments following it. However, a type object responds to the function -call interface, so you may use the name of a type with parentheses as if it -were a function, and any argument supplied to the call is coerced +expects no arguments following it. However, a type object responds to the +function call interface, so you may use the name of a type with parentheses +as if it were a function, and any argument supplied to the call is coerced to the type indicated by the type object. If there is no argument in the parentheses, the type object returns itself: