develooper Front page | perl.perl5.porters | Postings from June 2022

Re: Pre-RFC: yield true feature

Thread Previous | Thread Next
From:
Veesh Goldman
Date:
June 23, 2022 21:34
Subject:
Re: Pre-RFC: yield true feature
Message ID:
CAO-W_8CtwsQmpVyiFFEmM-WFW6X3J7+6ssFeJL-xpS-Zfnt6qw@mail.gmail.com
On Thu, Jun 23, 2022 at 2:21 PM Paul "LeoNerd" Evans <leonerd@leonerd.org.uk>
wrote:

>
> Back in the very beginning I first mentioned the name "yield_true", and
> I said:
>
> > On those latter two points: I could imagine that use v7 enables some
> > features to get those. Lets call them for sake of argument
> >
> >     use feature qw( export_attr yield_true )
>
> -- https://github.com/Perl/RFCs/pull/11#issuecomment-1022388554
>
> I probably should have made clearer, that was just a 5-second thought
> of a name. I don't think it's a very good name, I just made it up for
> the comment to close that PR.
>
> It is verymuch still in need of a better name :)
>
> --
> Paul "LeoNerd" Evans
>
>
Could I suggest 'module_requires_true' as the name? Since it's not actually
intended to be used directly, we could just have it as a default "no"
feature, like indirect. So you know that no module requires true at the
end.

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