Types

sub fib-typed(Int $n --> Int) { if $n > 1 { return fib-typed($n - 1) + fib-typed($n - 2); } return $n; }