sub echo(Int $x) { say $x.^name; say "echo() received $x"; } echo(3); --output:-- Int echo() received 3