Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created July 15, 2019 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/0122234263ff535d78a1b311de54bca0 to your computer and use it in GitHub Desktop.
Save Whateverable/0122234263ff535d78a1b311de54bca0 to your computer and use it in GitHub Desktop.
greppable6
notandthen
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment