On 2020-01-18 13:16, Brad Gilbert wrote:
Most operators in Raku are subroutines.

     1 + 2
     infix:<+>( 1, 2 )

     -1
     prefix:<->( 1 )

My mistake was thinking `infix:<+>` meqan to put the `+`
before the `)`




Note that Int:D does NOT do any coercions.

Int:D() does do coercions.

Specifically Int:D() is short for Int:D(Any). Which means it coerces from Any to Int, and the result must be defined.


Thank you for that.  I always waited for
the text to tell me that.

Reply via email to