We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48d0f93 commit 3d492d2Copy full SHA for 3d492d2
doc/Type/Any.pod6
@@ -600,13 +600,11 @@ don't really have keys.
600
601
Defined as:
602
603
- method flatmap(Any:U: &code --> Seq)
+ method flatmap(&block, :$label)
604
605
-Coerces the invocant to a C<list> by applying its
606
-L«C<.list>|/routine/list» method and uses
607
-L«C<List.flatmap>|/type/List#method_flatmap» on it.
608
-
609
- say Any.flatmap({.reverse}); # OUTPUT: «((Any))»
+N<This method is deprecated in 6.d and will be removed in 6.e>
+Applies L<C<map>|/type/Any#method_map> to every element with the block and label
+used as an argument and flattens out the result using C<.flat>.
610
611
=head2 method roll
612
0 commit comments