Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added docs for Setty.Bag
  • Loading branch information
Jan-Olof Hendig committed Aug 4, 2016
1 parent 6d12e31 commit 82a3be5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions doc/Type/Setty.pod6
Expand Up @@ -111,6 +111,17 @@ object, this is just the number of elements.
Returns C<True> if C<$other> and C<self> contain all the same elements,
and no others.
=head2 method Bag
Defined as:
method Bag(Setty:D:) returns Bag:D
Returns a L<Bag|/type/Bag> containing the elements of the invocant.
my Bag $b = Set.new(1, 2, 3).Bag;
say $b; # bag(3, 1, 2)
=head2 method Bool
Defined as:
Expand Down

0 comments on commit 82a3be5

Please sign in to comment.