Re: 3 kinds of yadda

[email protected] (yary) Mon, 10 Sep 2018 13:21:21 -0700
Newsgroups perl.perl6.language
Message-ID <CAG2CFAbX1Su6tSMCCuy5Y3qKFX8r26PE_dK22J=fFsPKOfRZ7Q@mail.gmail.com>
--000000000000fef80805758a1ad8
Content-Type: text/plain; charset="UTF-8"

Semantically
 !!! is "if control flow hits here, it's an error"
 ... is "The implementation is elsewhere, or this is not yet implemented"

at least that's my impression

-y

On Mon, Sep 10, 2018 at 12:04 PM, Parrot Raiser <[email protected]> wrote:

> There are 3 kinds of yadda, yadda operator:
>
> !!! dies with a message: Stub code executed
>   in block <unit> at yad1 line 2
>
> ... dies with an identical message
>
> ??? produces the message, but continues operating.
>
> The only difference I can find between !!! and ... is that !!!
> produces bizarre behaviour  when run from the command line. (Bash
> appears to be editing the code before P6 sees it.)
>
> What is supposed to be the difference between !!! and ...? (And bonus
> points if you can explain what bash is doing.)
>

--000000000000fef80805758a1ad8
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Semantically<div>=C2=A0!!! is &quot;if control flow hits h=
ere, it&#39;s an error&quot;<div>=C2=A0... is &quot;The implementation is e=
lsewhere, or this is not yet implemented&quot;</div><div><br></div><div>at =
least that&#39;s my impression=C2=A0</div></div></div><div class=3D"gmail_e=
xtra"><br clear=3D"all"><div><div class=3D"gmail_signature" data-smartmail=
=3D"gmail_signature">-y<br></div></div>
<br><div class=3D"gmail_quote">On Mon, Sep 10, 2018 at 12:04 PM, Parrot Rai=
ser <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_=
blank">[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex">There are 3 kinds of yadda, yadda operator:<br>
<br>
!!! dies with a message: Stub code executed<br>
=C2=A0 in block &lt;unit&gt; at yad1 line 2<br>
<br>
... dies with an identical message<br>
<br>
??? produces the message, but continues operating.<br>
<br>
The only difference I can find between !!! and ... is that !!!<br>
produces bizarre behaviour=C2=A0 when run from the command line. (Bash<br>
appears to be editing the code before P6 sees it.)<br>
<br>
What is supposed to be the difference between !!! and ...? (And bonus<br>
points if you can explain what bash is doing.)<br>
</blockquote></div><br></div>

--000000000000fef80805758a1ad8--