File | Code |
---|---|
perl6/doc…/faq.pod6 :354: |
statements, L«C<//>|/routine/$SOLIDUS$SOLIDUS», L<andthen|/routine/andthen>, L<notandthen|/routine/notandthen>, and |
perl6/doc…/operators.pod6 :44: |
X | Loose and | and andthen notandthen |
perl6/doc…/operators.pod6 :2640: |
=head2 infix X<C«notandthen»> |
perl6/doc…/operators.pod6 :2642: |
The C<notandthen> operator returns |
perl6/doc…/operators.pod6 :2650: |
At first glance, L<notandthen|/routine/notandthen> might appear to be the same |
perl6/doc…/operators.pod6 :2652: |
L<notandthen|/routine/notandthen> returns |
perl6/doc…/operators.pod6 :2656: |
L<notandthen|/routine/notandthen> is a means to act when items aren't defined, |
perl6/doc…/operators.pod6 :2660: |
sub all-sensors-down { [notandthen] |@_, True } |
perl6/doc…/operators.pod6 :2672: |
The C<notandthen> operator is a close relative of |
perl6/doc…/operators.pod6 :2674: |
compile C<without> to C<notandthen>, meaning these two lines have equivalent |
perl6/doc…/operators.pod6 :2681: |
good-things() notandthen 'boo'.say; |
perl6/doc…/code.pws :312: |
notandthen |
Created
July 15, 2019 17:49
-
-
Save Whateverable/0122234263ff535d78a1b311de54bca0 to your computer and use it in GitHub Desktop.
greppable6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
notandthen |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment