Skip to content

Commit 015c9b9

Browse files
authored
Indicate Mix -> Bag(Hash) coersion loses negative weights
1 parent cab6b77 commit 015c9b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Type/Mix.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Defined as:
8484
8585
Coerces the C<Mix> to a L«C<Bag>|/type/Bag». The weights are convert to L«C<Int>|/type/Int»,
8686
which means the number of keys in the resulting C<Bag> can be fewer than in the
87-
original C<Mix>, if any of the weights truncate to zero.
87+
original C<Mix>, if any of the weights are negative or truncate to zero.
8888
8989
=head2 method BagHash
9090
@@ -94,7 +94,7 @@ Defined as:
9494
9595
Coerces the C<Mix> to a L«C<BagHash>|/type/BagHash». The weights are convert to L«C<Int>|/type/Int»,
9696
which means the number of keys in the resulting C<BagHash> can be fewer than in the
97-
original C<Mix>, if any of the weights truncate to zero.
97+
original C<Mix>, if any of the weights are negative or truncate to zero.
9898
9999
=head1 See Also
100100

0 commit comments

Comments
 (0)