RosettaCodeData/Task/Function-definition/Perl-6/function-definition-3.pl6

2 lines
50 B
Raku
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
sub multiply (Rat $a, Rat $b --> Rat) { $a * $b }