File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -153,8 +153,7 @@ Defined as:
153
153
Returns all keys and their respective values as a L < Seq|/type/Seq > of C < Pair > s
154
154
where the keys and values have been exchanged, i.e. the opposite of method
155
155
L < pairs|#method_pairs > . Unlike the L < C < invert > |/type/Map#method_invert> method,
156
- there is
157
- no attempt to expand list values into multiple pairs.
156
+ there is no attempt to expand list values into multiple pairs.
158
157
159
158
my $m = Map.new('a' => (2, 3), 'b' => 17);
160
159
say $m.antipairs; # OUTPUT: «((2 3) => a 17 => b)»
@@ -168,8 +167,7 @@ Defined as:
168
167
Returns all keys and their respective values as a L < Seq|/type/Seq > of C < Pair > s
169
168
where the keys and values have been exchanged. The difference between C < invert >
170
169
and L < C < antipairs > |/type/Map#method_antipairs> is that C < invert > expands list
171
- values into
172
- multiple pairs.
170
+ values into multiple pairs.
173
171
174
172
my $m = Map.new('a' => (2, 3), 'b' => 17);
175
173
say $m.invert; # OUTPUT: «(2 => a 3 => a 17 => b)»
You can’t perform that action at this time.
0 commit comments