Skip to content

Commit

Permalink
Explains success closes #905
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed May 13, 2018
1 parent 3206fec commit 1310d51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/Language/phasers.pod6
Expand Up @@ -15,7 +15,7 @@ known as I<phasers>, since they generally mark the transition from one phase of
computing to another. For instance, a C<CHECK> block is called at the end of
compiling a compilation unit. Other kinds of phasers can be installed as well;
these are automatically called at various times as appropriate, and some of
them respond to various control exceptions and exit values.
them respond to various control exceptions and exit values. For instance, some phasers might be called if the exit from a block is successful or not, with I<success> in this case defined by returning with a defined value or list without any C<Failure> or exception in the process.
Here is a summary:
Expand Down Expand Up @@ -44,7 +44,7 @@ CONTROL {...} # catch control exceptions, before LEAVE
QUIT {...} # catch async exceptions within a whenever-block, runs very last
COMPOSE {...} # when a role is composed into a class
CLOSE {...} # appears in a supply block, called when the supply is closed
CLOSE {...} # appears in a supply block, called when the supply is closed
=end code
Phasers marked with a C<*> have a run-time value, and if evaluated earlier than
Expand Down

0 comments on commit 1310d51

Please sign in to comment.