Skip to content

Commit ffa648a

Browse files
authored
make example show off nqp features a bit more
1 parent 5bc5283 commit ffa648a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/loops.nqp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33

44
my $i := 0;
55
while $i < 10 {
6-
say("i=$i");
7-
$i++;
6+
say("i={$i++}");
87
}

0 commit comments

Comments
 (0)