On 1/2/19 4:00 PM, Brad Gilbert wrote:
You can only list one type as a return type.

If there were a hypothetical Tuple type:

     sub AddThree( Int $a, Int $b, Int $c --> Tuple[Str, Int] {
         my Int $d = $a + $b + $c;
         return Tuple[Str,Int].new( "a+b+c=", $d );
     }

I drew the line at creating new types

Reply via email to