List comprehensions: Difference between revisions
m
→{{header|Raku}}: Fix comments: Perl 6 --> Raku
Thundergnat (talk | contribs) (Rename Perl 6 -> Raku, alphabetize, minor clean-up) |
SqrtNegInf (talk | contribs) m (→{{header|Raku}}: Fix comments: Perl 6 --> Raku) |
||
Line 1,978:
=={{header|Raku}}==
(formerly Perl 6)
<lang perl6>my $n = 20;
gather for 1..$n -> $x {
Line 1,988:
}</lang>
Note that <tt>gather</tt>/<tt>take</tt> is the primitive in
=={{header|Rascal}}==
|