Skip to content

Commit 7bc35a6

Browse files
author
Jan-Olof Hendig
committed
Fixed incorrect example output
1 parent 4818aa3 commit 7bc35a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Type/List.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ by iteratively applying a function which knows how to combine I<two> values.
836836
If C<@values> contains just a single element, the operator is applied to that single element if possible; if not, it returns the element itself.
837837
838838
say [-] <10 5 3>; #OUTPUT: 2␤
839-
say [-] 10; #OUTPUT: -10␤
839+
say [-] 10; #OUTPUT: 10␤
840840
841841
If it contains no elements, an exception is thrown, unless
842842
C<&with> is an I<operator> with a known identity value. For this

0 commit comments

Comments
 (0)