Skip to content

Commit

Permalink
Any.reverse returns a Seq, not a List
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Mar 18, 2017
1 parent 1ba43da commit 5ef456b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/Type/Any.pod6
Expand Up @@ -111,10 +111,10 @@ into the newly created Array.
Defined as:
multi sub reverse(*@list --> List:D)
multi method reverse(List:D: --> List:D)
multi sub reverse(*@list --> Seq:D)
multi method reverse(List:D: --> Seq:D)
Returns a list with the same elements in reverse order.
Returns a L«C<Seq>|/type/Seq> with the same elements in reverse order.
Note that C<reverse> always refers to reversing elements of a list;
to reverse the characters in a string, use L<flip>.
Expand Down

0 comments on commit 5ef456b

Please sign in to comment.