Skip to content

Instantly share code, notes, and snippets.

@rightfold

rightfold/bug.p6 Secret

Last active January 25, 2016 20:22
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 rightfold/a4bdccd99dae16ba8ad7 to your computer and use it in GitHub Desktop.
Save rightfold/a4bdccd99dae16ba8ad7 to your computer and use it in GitHub Desktop.
multi term-expr(List:D $datum where *[0] eqv 'do') { }
multi term-expr(List:D $datum) {
say($datum[0] eqv 'do'); # prints True
}
# ...
term-expr(['do',]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment