Skip to content

Commit f544565

Browse files
committed
Document undefine
For 6.c, plenty of spec in roast. 6.d deprecation spec: Raku/roast@e325718ca2 Rakudo deprecation: rakudo/rakudo@72bac67080
1 parent f71a1de commit f544565

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

doc/Language/routines.pod6

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,18 @@ $supply.tap( -> $v { say "First : $v" });
7272
7373
See also L<the page for C<emit> methods|/routine/emit>.
7474
75+
=head2 X<undefine>
76+
77+
Defined as:
78+
79+
multi sub undefine(Mu \x)
80+
multi sub undefine(Array \x)
81+
multi sub undefine(Hash \x)
82+
83+
B<DEPRECATED> in 6.d language version and will be removed in 6.e. For
84+
L<Array> and L<Hash>, equivallent to assigning L<Empty>; for everything else,
85+
equivalent to assigning L<Nil>. This routine is deprecated and you should use
86+
L<Empty>/L<Nil> directly, instead.
7587
7688
=end pod
7789

0 commit comments

Comments
 (0)