develooper Front page | perl.perl5.porters | Postings from September 2015

Re: smartmatch needs your eyes

Thread Previous | Thread Next
From:
Elizabeth Mattijsen
Date:
September 24, 2015 15:17
Subject:
Re: smartmatch needs your eyes
Message ID:
D86B76E2-F63E-418C-9155-C5A09986D1B6@dijkmat.nl
I’m not going to react on some of the conclusions, just on one, I think, important fact:

> On 24 Sep 2015, at 14:06, Zefram <zefram@fysh.org> wrote:
>> ("3"|3) ~~ Numeric
> any(False, True)
>> ("3"|3).isa(Numeric)
> False

“isa” is a method on Mu, therefore exempt from auto-threading:

$ 6 '(3|"3").isa(Junction).say’
True



Liz
Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About