Skip to content

Commit

Permalink
Correcting the documentation
Browse files Browse the repository at this point in the history
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
  • Loading branch information
JJ committed Jan 25, 2018
1 parent 61ea388 commit 46302f3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/Type/Any.pod6
Expand Up @@ -528,7 +528,7 @@ Defined As:
method flatmap(Any:U: &code --> Seq)
Coerces the C<Any> to a C<List> by applying the C<.list> method and uses
Coerces the C<Any> to a C<list> by applying the C<.list> method and uses
L«C<List.flatmap>|/type/List#method_flatmap» on it.
say Any.flatmap({.reverse}); # OUTPUT: «((Any))␤»
Expand All @@ -542,7 +542,7 @@ Defined As:
multi method roll(--> Any)
multi method roll($n --> Seq)
Coerces the C<Any> to a C<List> by applying the C<.list> method and uses
Coerces the C<Any> to a C<list> by applying the C<.list> method and uses
L«C<List.roll>|/type/List#routine_roll» on it.
say Any.roll; # OUTPUT: «(Any)␤»
Expand All @@ -555,7 +555,7 @@ Defined As:
multi method pick(--> Any)
multi method pick($n --> Seq)
Coerces the C<Any> to a C<List> by applying the C<.list> method and uses
Coerces the C<Any> to a C<list> by applying the C<.list> method and uses
L«C<List.pick>|/type/List#routine_pick» on it.
say Any.pick; # OUTPUT: «(Any)␤»
Expand Down Expand Up @@ -869,7 +869,7 @@ Defined As:
method iterator(--> Iterator)
Coerces the C<Any> to a C<List> by applying the C<.list> method and uses
Coerces the C<Any> to a C<list> by applying the C<.list> method and uses
L«C<iterator>|/type/Iterable#method_iterator» on it.
my $it = Any.iterator;
Expand All @@ -882,7 +882,7 @@ Defined As:
method grep(Mu $matcher, :$k, :$kv, :$p, :$v --> Seq)
Coerces the C<Any> to a C<List> by applying the C<.list> method and uses
Coerces the C<Any> to a C<list> by applying the C<.list> method and uses
L«C<List.grep>|/type/List#routine_grep» on it.
Based on C<$matcher> value can be either C<((Any))> or empty List.
Expand Down

0 comments on commit 46302f3

Please sign in to comment.