Skip to content

Commit 99cb2ab

Browse files
committed
Use correct method
Closes #4120
1 parent 2802c2b commit 99cb2ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Type/Iterable.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Note that the flattening is recursive, so C<((("a", "b"), "c"),
7474
"d").flat> returns C<("a", "b", "c", "d")>, but it does not flatten
7575
itemized sublists:
7676
77-
say ($('a', 'b'), 'c').raku; # OUTPUT: «($("a", "b"), "c")␤»
77+
say ($('a', 'b'), 'c').flat; # OUTPUT: «($("a", "b"), "c")␤»
7878
7979
You can use the L«hyper method call|/language/operators#index-entry-methodop_>>.» to
8080
call the L«C<.List>|/routine/List» method on all the inner itemized sublists

0 commit comments

Comments
 (0)