Skip to content

Commit

Permalink
Reformats and checks definitions closes #2810
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed May 28, 2019
1 parent a2b6d9a commit 6c8f66c
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions doc/Type/independent-routines.pod6
Expand Up @@ -1064,9 +1064,11 @@ Defined as:
multi sub undefine(Array \x)
multi sub undefine(Hash \x)
B<DEPRECATED> in 6.d language version and will be removed in 6.e. For L<Array|/type/Array>
and L<Hash|/type/Hash>, it will become equivalent to assigning L<Empty|/type/Slip#index-entry-Empty-Empty>; for everything
else, equivalent to assigning L<Nil|/type/Nil>, whose use is advised.
B<DEPRECATED> in 6.d language version and will be removed in 6.e. For
L<Array|/type/Array> and L<Hash|/type/Hash>, it will become equivalent to
assigning L<Empty|/type/Slip#index-entry-Empty-Empty>; for everything else,
equivalent to assigning L<Nil|/type/Nil> or C<Empty> in the case of arrays or
hashes, whose use is advised.
=head1 Control routines
Expand All @@ -1076,7 +1078,8 @@ Routines that change the flow of the program, maybe returning a value.
Defined as:
sub exit(Int() $status = 0)
multi sub exit()
multi sub exit(Int(Any) $status)
Exits the current process with return code C<$status> or zero if no
value has been specified. The exit value (C<$status>), when different
Expand All @@ -1101,8 +1104,9 @@ Defined as
sub done(--> Nil)
If used outside any supply or react block, throws an exception C<done without
supply or react>. Within a L<Supply|/type/Supply> block, it will indicate the supply will no
longer emit anything. See also L<documentation on method C<done>|/routine/done>.
supply or react>. Within a L<Supply|/type/Supply> block, it will indicate the
supply will no longer emit anything. See also L<documentation on method
C<done>|/routine/done>.
=for code
my $supply = supply {
Expand Down

0 comments on commit 6c8f66c

Please sign in to comment.