Skip to content

Commit a20bdc5

Browse files
committed
Correct minor typographical issues in setbagmix.pod
1 parent 170f2b9 commit a20bdc5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

lib/Language/setbagmix.pod

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ TODO: Partial type graph showing only QuantHash, Setty, Baggy, Mixy, Set,
3333
SetHash, Bag, BagHash, Mix, MixHash.
3434
3535
The six collection classes C<Set>, C<SetHash>, C<Bag>, C<BagHash>, C<Mix>,
36-
C<MixHash>, all share similar semantics:
36+
C<MixHash>, all share similar semantics.
3737
3838
For one thing, as far as they are concerned, identical objects refer to the same
39-
element - where identity is determined using the L<WHICH> methods (i.e. the same
39+
element -- where identity is determined using the L<WHICH> methods (i.e. the same
4040
way that the L<===> operator checks identity). For value types like C<Str>, this
4141
means having the same value; for reference types like C<Array>, it means
4242
referring to the same object instance.
@@ -124,7 +124,7 @@ not contain C<$b>.
124124
multi sub infix:<<(<=)>>(Setty $a, Setty $b --> Bool)
125125
126126
Returns C<True> if C<$a> is a B<subset> or is equal to C<$b>, i.e., if all the
127-
elements of C<$a> are elements of C<$b>, and C<$a> is a smaller or equal
127+
elements of C<$a> are elements of C<$b> and C<$a> is a smaller or equal
128128
sized set than C<$b>.
129129
130130
=head4 infix ⊆
@@ -145,7 +145,7 @@ Equivalent to C«!(<=)».
145145
multi sub infix:<<(<)>>(Setty $a, Setty $b --> Bool)
146146
147147
Returns C<True> if C<$a> is a B<strict subset> of C<$b>, i.e., that all the
148-
elements of C<$a> are elements of C<$b>, but C<$a> is a smaller set than
148+
elements of C<$a> are elements of C<$b> but C<$a> is a smaller set than
149149
C<$b>.
150150
151151
=head4 infix ⊂
@@ -236,7 +236,7 @@ Equivalent to L«(+>)».
236236
237237
only sub infix:<(|)>(**@p)
238238
239-
Returns the B<union> of all of its arguments. Generally, this creates a new
239+
Returns the B<union> of all its arguments. Generally, this creates a new
240240
C<Set> that contains all the elements its arguments contain.
241241
242242
<a a b c d> (|) <h g f e d c> (|) <i j> === set <a b c d e f g h i j>
@@ -266,7 +266,7 @@ arguments contain.
266266
267267
If any of its arguments are C<Baggy>, this creates a new C<Bag> that
268268
contains only the elements that all of the arguments contain, each
269-
weighted the max weight all of the arguments share for that element.
269+
weighted by the maximum weight all of the arguments share for that element.
270270
271271
bag(<a a b c a>) (&) bag(<a a b c c>) === bag(<a a b c>)
272272
@@ -312,7 +312,7 @@ all the elements C<$b> has but C<$a> doesn't. Equivalent to C<($a ∖ $b)
312312
313313
only sub infix:<<"\x2296">>($a, $b --> Setty)
314314
315-
Equivalent to L«(^)»
315+
Equivalent to L«(^)».
316316
317317
=head3 infix (.)
318318

0 commit comments

Comments
 (0)