Hi,

Cory Spencer (via RT) wrote:
> The following patch adds a Perl 6 version of rand and cis to Any.pm in the 
> setting.

Thanks for the patch.
Unfortunately, it doesn't apply cleanly here (at rakudo
748771092a53e8910df4c633567c9a57b090a12e), does it depend on a previous
patch you send?

[...]
> -    our Int multi method floor (Num $x:) is export {
> +    our Complex multi method cis is export {
> +        unpolar(1.0, self)
> +    }
> +

is there any good reason to use the sub form over the method form?

I somehow would prefer the latter, because I think it'll DWIM better
with respect to user defined numeric types and polymorphism, but I'm not
sure if that's really the case.

Cheers,
Moritz

Reply via email to