HaloO,
Luke Palmer wrote:
> It looks nicer if you use the indirect object form:
>
> trans "string": [
> <h e> => "0",
> ];
Given the right interpretation this just looks like
a typed label selection in a multi method.
multi trans
{
Str $x: ...; return;
Int $x: ...; return;
...; return;
}
Is this definitional form supported? To me it nicely
unifies the indirect object syntax---and postfix colon
in general---with labels.
--
Thread Previous
|
Thread Next