Skip to content

Commit d9d512a

Browse files
authored
Merge pull request #757 from 0racle/0racle-permutations
Correct output of permutations sub
2 parents dcea15d + 78eed14 commit d9d512a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/Type/List.pod6

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -923,12 +923,12 @@ C<(^$n).permutations>, so
923923
924924
prints
925925
926-
1 2 3
927-
1 3 2
928-
2 1 3
929-
2 3 1
930-
3 1 2
931-
3 2 1
926+
0 1 2
927+
0 2 1
928+
1 0 2
929+
1 2 0
930+
2 0 1
931+
2 1 0
932932
933933
=head2 method rotor
934934

0 commit comments

Comments
 (0)