Re: Justification for the "reversed" instruction format

[email protected] (Brandon Allbery) Wed, 7 Sep 2016 18:13:53 -0400
Newsgroups perl.perl6.language
Message-ID <CAKFCL4W+Ps+kHZUkc5EXwCRhX=wjQCugJ_FzG4gbAMigi_xS=g@mail.gmail.com>
On Wed, Sep 7, 2016 at 6:08 PM, Parrot Raiser <[email protected]> wrote:

> There is a "flip" in P6, to reverse the characters in a string, and a
> "reverse", to return the elements of a list. Would either of those be
> an equivalent?
>

Not without an "apply" mechanism used for function / method / operator
invocations. Which is almost viable in Perl 6 since the parameters get
passed as a list --- except that the list is only visible within the
implementation, not at the call site (which is what "apply" does).

-- 
brandon s allbery kf8nh                               sine nomine associates
[email protected]                                  [email protected]
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net