RosettaCodeData/Task/Function-definition/Raku/function-definition-3.raku

2 lines
50 B
Raku

sub multiply (Rat $a, Rat $b --> Rat) { $a * $b }