Skip to content

Commit aa84e0b

Browse files
committed
Minor fixes to Any.pod
1 parent 5b11c47 commit aa84e0b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

doc/Type/Any.pod

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Usage:
7272
7373
LIST.one
7474
75-
Interprets the invocant as a list and creates an
75+
Interprets the invocant as a list and creates a
7676
C<one>-L<Junction|/type/Junction> from it.
7777
7878
say so 1 == (1, 2, 3).one; # True
@@ -88,7 +88,7 @@ Usage:
8888
8989
LIST.none
9090
91-
Interprets the invocant as a list and creates an
91+
Interprets the invocant as a list and creates a
9292
C<none>-L<Junction|/type/Junction> from it.
9393
9494
say so 1 == (1, 2, 3).none; # False
@@ -103,10 +103,10 @@ Interprets the invocant as a list, and returns that L<List|/type/List>.
103103
104104
=head2 method push
105105
106-
The method push is defined for undefined invocants and allowes to autovivify
107-
undefined to an empty C<Array>, unless the undefined value implements
108-
C<Positional> already. The argument provided will then be pushed into the
109-
newly created Array.
106+
The method push is defined for undefined invocants and allowes for
107+
autovivifying undefined to an empty C<Array>, unless the undefined value
108+
implements C<Positional> already. The argument provided will then be pushed
109+
into the newly created Array.
110110
111111
my %h;
112112
dd %h<a>; # Any (and therefor undefined)
@@ -155,13 +155,13 @@ Defined as:
155155
multi method map(HyperIterable:D: &block;; :$label)
156156
157157
C<map> will iterate over the invocant and apply the number of positional
158-
parameters of the code object from the invocant per call. The returned values
158+
parameters of the code object from the invocant per call. The returned values
159159
of the code object will become elements of the returned C<Seq>.
160160
161161
=head2 method flat
162162
163-
Interprets the invocant as a list, flattens it, and returns that list. Please
164-
note that C<.flat> will not solve the halting problem for you. If you flat
163+
Interprets the invocant as a list, flattens it, and returns that list. Please
164+
note that C<.flat> will not solve the halting problem for you. If you flat
165165
an infinite list C<.flat> may return that infinite list, eating all your RAM
166166
in the process.
167167
@@ -196,7 +196,7 @@ Interprets the invocant as a list, and returns the last index of that list.
196196
197197
Interprets the invocant as a list, and constructs a list of
198198
L<pairs|/type/Pair> from it, in the same way that assignment to a
199-
L<Hash|/type/Hash> does. That is, it takes two consecutive elements and
199+
L<Hash|/type/Hash> does. That is, it takes two consecutive elements and
200200
constructs a pair from them, unless the item in the key position already is a
201201
pair (in which case the pair is passed is passed through, and the next
202202
list item, if any, is considered to be a key again).

0 commit comments

Comments
 (0)