Skip to content

Commit

Permalink
:delete working on lazy arrays #2632
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed Apr 4, 2020
1 parent 4566d99 commit af50b53
Show file tree
Hide file tree
Showing 2 changed files with 191 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/Language/subscripts.pod6
Expand Up @@ -592,6 +592,13 @@ actually do nothing; it will also return C<Nil>
=for code
say Hash<foo>:delete; # OUTPUT: «Nil␤»
The adverb can be used on lazy arrays too:
=for code
my @lazy-array = lazy 1, 11, 121 ... 10**100;
@lazy-array[2**24]:delete;
X<|:p (subscript adverb)>
=head2 C<:p>
Expand Down
184 changes: 184 additions & 0 deletions p6doc.iml
Expand Up @@ -559,5 +559,189 @@
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="JSON::Unmarshal" type="perl6">
<CLASSES />
<SOURCES>
<root url="raku://448590579:JSON::Unmarshal!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="Pod::To::BigPage:ver&lt;0.5.1+&gt;" type="perl6">
<CLASSES />
<SOURCES>
<root url="raku://448590579:Pod::To::BigPage:ver&lt;0.5.1+&gt;!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="JSON::Marshal" type="perl6">
<CLASSES />
<SOURCES>
<root url="raku://448590579:JSON::Marshal!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="File::Directory::Tree" type="perl6">
<CLASSES />
<SOURCES>
<root url="raku://448590579:File::Directory::Tree!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="JSON::Class:ver&lt;0.0.5+&gt;" type="perl6">
<CLASSES />
<SOURCES>
<root url="raku://448590579:JSON::Class:ver&lt;0.0.5+&gt;!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="MIME::Base64" type="perl6">
<CLASSES />
<SOURCES>
<root url="raku://448590579:MIME::Base64!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="META6" type="perl6">
<CLASSES />
<SOURCES>
<root url="raku://448590579:META6!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="URI" type="perl6">
<CLASSES />
<SOURCES>
<root url="raku://448590579:URI!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="JSON::Name" type="perl6">
<CLASSES />
<SOURCES>
<root url="raku://448590579:JSON::Name!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="LWP::Simple" type="perl6">
<CLASSES />
<SOURCES>
<root url="raku://448590579:LWP::Simple!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="Template::Mustache" type="perl6">
<CLASSES />
<SOURCES>
<root url="raku://448590579:Template::Mustache!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="License::SPDX" type="perl6">
<CLASSES />
<SOURCES>
<root url="raku://448590579:License::SPDX!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="OO::Monitors" type="perl6">
<CLASSES />
<SOURCES>
<root url="raku://448590579:OO::Monitors!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="File::Find" type="perl6">
<CLASSES />
<SOURCES>
<root url="raku://448590579:File::Find!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="Pod::Utilities" type="perl6">
<CLASSES />
<SOURCES>
<root url="raku://448590579:Pod::Utilities!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="Test" type="perl6">
<CLASSES />
<SOURCES>
<root url="raku://448590579:Test!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="Test::META" type="perl6">
<CLASSES />
<SOURCES>
<root url="raku://448590579:Test::META!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="Pod::Load:ver&lt;0.4.0+&gt;" type="perl6">
<CLASSES />
<SOURCES>
<root url="raku://448590579:Pod::Load:ver&lt;0.4.0+&gt;!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="JSON::Class" type="perl6">
<CLASSES />
<SOURCES>
<root url="raku://448590579:JSON::Class!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="File::Temp" type="perl6">
<CLASSES />
<SOURCES>
<root url="raku://448590579:File::Temp!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="Perl6::TypeGraph" type="perl6">
<CLASSES />
<SOURCES>
<root url="raku://448590579:Perl6::TypeGraph!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="JSON::Fast" type="perl6">
<CLASSES />
<SOURCES>
<root url="raku://448590579:JSON::Fast!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="Pod::To::HTML:ver&lt;0.6.1+&gt;" type="perl6">
<CLASSES />
<SOURCES>
<root url="raku://448590579:Pod::To::HTML:ver&lt;0.6.1+&gt;!/" />
</SOURCES>
</library>
</orderEntry>
</component>
</module>

0 comments on commit af50b53

Please sign in to comment.