Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add Bag.kxxv (preliminary name)
  • Loading branch information
lizmat committed Apr 13, 2014
1 parent 3e1f329 commit 91f41bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/Baggy.pm
Expand Up @@ -6,6 +6,7 @@ my role Baggy does QuantHash {
method keys { %!elems.values.map( {.key} ) }
method values { %!elems.values.map( {.value} ) }
method kv { %!elems.values.map( {.key, .value} ) }
method kxxv { %!elems.values.map( {.key xx .value} ) }
method elems(--> Int) { %!elems.elems }
method total(--> Int) { [+] self.values }
method min(--> Real) { self.values.min }
Expand Down

0 comments on commit 91f41bd

Please sign in to comment.