develooper Front page | perl.perl6.users | Postings from June 2020

Re: junctions and parenthesis

Thread Previous
From:
Tobias Boege
Date:
June 22, 2020 19:47
Subject:
Re: junctions and parenthesis
Message ID:
20200622194729.GD142326@highrise.localdomain
On Mon, 22 Jun 2020, Elizabeth Mattijsen wrote:
> BEGIN trait_mod:<is>(&any, :tighter(&infix:<*>));
> 
> comes to mind, but that doesn't seem to do the trick.
> 

My guess: tighter and looser are only consulted by the parser
in contexts where 'any' was recognized as an *operator*.

Thread Previous


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