A recent rakudo commit [1] is a quick fix for #78896 [2] to allow
exponentiation of Duration's.

I'm uneasy with allowing this and I think the spec probably meant not
to but is badly worded [3]:

 Durations allow additive operations with other durations, and allow
 any numeric operation with a number as the other argument:

     $duration * $duration    # WRONG, durations aren't geometric
     $duration * 2            # ok, a duration twice as long
     2 * $duration            # same

What are your thoughts?

[2] http://rt.perl.org/rt3/Ticket/Display.html?id=78896

Reply via email to