Skip to content

Commit 46302f3

Browse files
committed
Correcting the documentation
Now that I've read item 2 of @zoffixznet's list, I see that what I've said for the first item is wrong. Hope it's OK now. Refs #1731
1 parent 61ea388 commit 46302f3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/Type/Any.pod6

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ Defined As:
528528
529529
method flatmap(Any:U: &code --> Seq)
530530
531-
Coerces the C<Any> to a C<List> by applying the C<.list> method and uses
531+
Coerces the C<Any> to a C<list> by applying the C<.list> method and uses
532532
L«C<List.flatmap>|/type/List#method_flatmap» on it.
533533
534534
say Any.flatmap({.reverse}); # OUTPUT: «((Any))␤»
@@ -542,7 +542,7 @@ Defined As:
542542
multi method roll(--> Any)
543543
multi method roll($n --> Seq)
544544
545-
Coerces the C<Any> to a C<List> by applying the C<.list> method and uses
545+
Coerces the C<Any> to a C<list> by applying the C<.list> method and uses
546546
L«C<List.roll>|/type/List#routine_roll» on it.
547547
548548
say Any.roll; # OUTPUT: «(Any)␤»
@@ -555,7 +555,7 @@ Defined As:
555555
multi method pick(--> Any)
556556
multi method pick($n --> Seq)
557557
558-
Coerces the C<Any> to a C<List> by applying the C<.list> method and uses
558+
Coerces the C<Any> to a C<list> by applying the C<.list> method and uses
559559
L«C<List.pick>|/type/List#routine_pick» on it.
560560
561561
say Any.pick; # OUTPUT: «(Any)␤»
@@ -869,7 +869,7 @@ Defined As:
869869
870870
method iterator(--> Iterator)
871871
872-
Coerces the C<Any> to a C<List> by applying the C<.list> method and uses
872+
Coerces the C<Any> to a C<list> by applying the C<.list> method and uses
873873
L«C<iterator>|/type/Iterable#method_iterator» on it.
874874
875875
my $it = Any.iterator;
@@ -882,7 +882,7 @@ Defined As:
882882
883883
method grep(Mu $matcher, :$k, :$kv, :$p, :$v --> Seq)
884884
885-
Coerces the C<Any> to a C<List> by applying the C<.list> method and uses
885+
Coerces the C<Any> to a C<list> by applying the C<.list> method and uses
886886
L«C<List.grep>|/type/List#routine_grep» on it.
887887
888888
Based on C<$matcher> value can be either C<((Any))> or empty List.

0 commit comments

Comments
 (0)