Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add andthen to ~~ trap
  • Loading branch information
gfldex committed Sep 29, 2016
1 parent d730103 commit b70c423
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/Language/traps.pod6
Expand Up @@ -279,9 +279,9 @@ starting string:
say join ", ", ("az", *.succ ... "bc")
az, ba, bb, bc
The smart match operator C<~~> does set the topic C<$_> to its LHS. In
conjunction with implicit method call on the topic this can lead to surprising
results.
The smart match operator C<~~> and C<andthen> set the topic C<$_> to their LHS.
In conjunction with implicit method calls on the topic this can lead to
surprising results.
my &method = { note $_; $_ };
$_ = 'object';
Expand Down

0 comments on commit b70c423

Please sign in to comment.