Set right-adjacent bits: Difference between revisions
m
→{{header|Raku}}: simplify
(Realize in F#) |
Thundergnat (talk | contribs) m (→{{header|Raku}}: simplify) |
||
Line 398:
=={{header|Raku}}==
{{incomplete|Raku|Missing the examples asked for}}
A left-to-right ordered collection of bits is more commonly referred to as an Integer in Raku.
<lang perl6>sub rab (Int $n
$m +|=
▲ $n
}
sub lab (Int $n
▲ $n
}
|