Skip to content

Commit c99887d

Browse files
committed
Remove implementation notes obsoleted by 2015.09
Tested with Rakudo 2015.09 and IRC evalbot Rakudo 2015.11.505.ge.52617.c.
1 parent 621eb8a commit c99887d

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

doc/Language/control.pod

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -147,19 +147,13 @@ run the block, or it will return the value which the block produces:
147147
my $c = 0; say (1, (if 1 { $c += 42; 2; }), 3, $c); # says "1 2 3 42"
148148
my $d = 0; say (1, (if 0 { $d += 42; 2; }), 3, $d); # says "1 3 0"
149149
150-
Implementation note: Currently, Rakudo will say "1 Nil 3 0" for the last
151-
example because it is not caught up to this part of the design yet.
152-
153150
For the statement modifier it is the same, except you have the value
154151
of the statement instead of a block:
155152
156153
say (1, (42 if True) , 2); # says "1 42 2"
157154
say (1, (42 if False), 2); # says "1 2"
158155
say (1, 42 if False , 2); # says "1 42" because "if False, 2" is true
159156
160-
Implementation note: Currently, Rakudo will say "1 Nil 2" for the second
161-
example because it is not caught up to this part of the design yet.
162-
163157
The C<if> does not change the topic (C<$_>) by default. In order to access
164158
the value which the conditional expression produced, you have to ask
165159
for it more strongly:
@@ -231,9 +225,6 @@ or the value produced by the block that did run:
231225
(if 0 { $d += 42; "two"; } elsif False { $d += 43; 2; }),
232226
3, $d); # says "1 3 0"
233227
234-
Implementation note: Currently, Rakudo will say "1 Nil 3 0" for the last
235-
example because it is not caught up to this part of the design yet.
236-
237228
It's possible to obtain the value of the previous expression inside an
238229
C<else>, which could be from C<if> or the last C<elsif> if any are
239230
present:

0 commit comments

Comments
 (0)