Skip to content

Commit

Permalink
Added docs for Baggy.Set
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan-Olof Hendig committed Jun 18, 2016
1 parent d3dc9f7 commit 4aee715
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions doc/Type/Baggy.pod
Expand Up @@ -248,6 +248,17 @@ Returns zero.
my $breakfast = bag <eggs bacon>;
say $breakfast.default; # 0
=head2 method Set
Defined as:
method Set() returns Set:D
Returns a L<Set|/type/Set> whose elements are the L<keys|#method keys> of the invocant.
my $breakfast = (eggs => 2, bacon => 3).BagHash;
say $breakfast.Set; # set(bacon, eggs)
=head2 method ACCEPTS
=comment TODO
Expand Down

0 comments on commit 4aee715

Please sign in to comment.