Front page | perl.perl6.language |
Postings from February 2010
r29673 - docs/Perl6/Spec
From:
pugs-commits
Date:
February 9, 2010 21:52
Subject:
r29673 - docs/Perl6/Spec
Message ID:
20100210055111.21484.qmail@feather.perl6.nl
Author: lwall
Date: 2010-02-10 06:51:10 +0100 (Wed, 10 Feb 2010)
New Revision: 29673
Modified:
docs/Perl6/Spec/S03-operators.pod
Log:
[S03] add description of prefix:<||> semantics
Modified: docs/Perl6/Spec/S03-operators.pod
===================================================================
--- docs/Perl6/Spec/S03-operators.pod 2010-02-10 05:40:15 UTC (rev 29672)
+++ docs/Perl6/Spec/S03-operators.pod 2010-02-10 05:51:10 UTC (rev 29673)
@@ -35,7 +35,7 @@
L Method postfix .meth .+ .? .* .() .[] .{} .<> .«» .:: .= .^ .:
N Autoincrement ++ --
R Exponentiation **
- L Symbolic unary ! + - ~ ? | +^ ~^ ?^ ^
+ L Symbolic unary ! + - ~ ? | || +^ ~^ ?^ ^
L Multiplicative * / % +& +< +> ~& ~< ~> ?& div mod
L Additive + - +| +^ ~| ~^ ?| ?^
L Replication x xx
@@ -650,6 +650,19 @@
=item *
+C<< prefix:<||> >>, flatten object into semicolon list
+
+ || $parcel
+
+Interpolates the elements of the C<Parcel> (or any other ordered value)
+into the current argument list as if they had been specified literally,
+separated by semicolons, that is, at the multi-dimensional level.
+It is an error to use this operator outside of a slice context; in
+other words it must be bound into a C<**> (slice) parameter rather
+than a C<*> (slurpy) parameter.
+
+=item *
+
C<< prefix:<+^> >>, numeric bitwise negation
+^$x
-
r29673 - docs/Perl6/Spec
by pugs-commits