Autrijus wrote:

Indeed.  Somehow I think this makes some sense:

        sub Bool eqv (|T $x, |T $y) { ... }

Except that it prevents anyone from ever writing:

    multi sub circumfix:<| |> (Num $x) { return abs $x }
    multi sub circumfix:<| |> (Vec $x) { return $x.mag }

which many mathematically inclined folks might find annoying.

(It also precludes intriguing possibilities like:

    multi sub circumfix:«| >» ($q) { return => $q) }

which I personally would find irritating. ;-)


Reply via email to