Generic swap
Similar to Perl 5. Raku supports type constraints for variables and subroutines, unlike Perl 5, but the default is still to permit all values.
Alternatively, you can write it like this:
Last updated
Similar to Perl 5. Raku supports type constraints for variables and subroutines, unlike Perl 5, but the default is still to permit all values.
Alternatively, you can write it like this:
Last updated