Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[PATCH] Updates and fixes for docs/imcc/syntax.pod

8 views
Skip to first unread message

Klaas-Jan Stol

unread,
Feb 8, 2007, 11:27:18 AM2/8/07
to Perl 6 Internals
hi,

attached a patch for docs/imcc/syntax.pod

fixing:
* typo, changing eamples in examples
* added ", respectively" to description of binary/hex numbers
* added syntax description for slices:
<var> = <var> [ <key> ]
where <key> is one of:
<var> .. <var>
.. <var>
<var> ..

Also, I added references to 2 files to the slicing part. Please note
that there is not a clear description of what slicing should do. (or I
overlooked).
My guess is that
$P0 = $P1[ 1 .. 3 ]
should return an array with values from $P1[1], $P1[2] and $P[3].

Any confirmations or error marking would be appreciated.

regards,
klaas-jan

imccsyntax.patch
0 new messages