Skip to content

Commit 146f9e3

Browse files
committed
Checks for documentation of invert and reflows
Which was already defined, so ticking *.invert method is available on core QuantHash types* in #2632
1 parent dc8d655 commit 146f9e3

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

doc/Language/objects.pod6

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -905,10 +905,10 @@ class C does R1 does R2 { }
905905
906906
=head2 Stubs
907907
908-
When a role contains a L<stubbed|/routine/...> method,
909-
a non-stubbed version of a method of the same name must be supplied
910-
at the time the role is applied to a class. This allows you to
911-
create roles that act as abstract interfaces.
908+
When a role contains a stubbed method, that is, a method whose code is limited
909+
to C<...>, a non-stubbed version of a method of the same name must be supplied
910+
at the time the role is applied to a class. This allows you to create roles that
911+
act as abstract interfaces.
912912
913913
=begin code :skip-test<illustrates error>
914914
role AbstractSerializable {

doc/Type/Baggy.pod6

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,11 @@ Defined as:
192192
193193
method invert(Baggy:D: --> Seq:D)
194194
195-
Returns all elements and their respective weights as a L<Seq|/type/Seq> of L<Pairs|/type/Pair>,
196-
where the element itself is the value and the weight of that element is the key, i.e.
197-
the opposite of method L<pairs|#method pairs>. Except for some esoteric cases C<invert> on a
198-
Baggy type returns the same result as L<antipairs|#method_antipairs>.
195+
Returns all elements and their respective weights as a L<Seq|/type/Seq> of
196+
L<Pairs|/type/Pair>, where the element itself is the value and the weight of
197+
that element is the key, i.e. the opposite of method L<pairs|#method pairs>.
198+
Except for some esoteric cases, C<invert> on a Baggy type returns the same
199+
result as L<antipairs|#method_antipairs>.
199200
200201
my $breakfast = bag <bacon eggs bacon>;
201202
my $seq = $breakfast.invert;
@@ -462,4 +463,4 @@ L<Sets, Bags, and Mixes|/language/setbagmix>
462463
463464
=end pod
464465

465-
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
466+
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

0 commit comments

Comments
 (0)