enum Colour <white orange black>;
sub render-congrats(Str :$name!, Colour :$belt!) {
"Hey $name, congratulations on your { tc $belt } Ninja Belt."
}
say render-congrats :name<Tim>, :belt(orange);
sub render-balance(Str :$name!, Rat() :$amount!) { #Rat() mean: guve me something that can be converted to a Rat (rational) and convert it
"$name, your balance is \$ $amount"
}
say render-balance :name<Julian>, :amount(10000);
# say render-balance :name<Julian>;
# ERROR:Required named parameter 'amount' not passed
my &render-user-balance = &render-balance.assuming: :name<Julian>;
say render-user-balance :amount(100)