We add three new methods (selectKeys, selectValues, and selectPairs) for hash tables, partially addressing #579. That issue also suggested dropping hash table support from select. But that would be a breaking change (there's some code in Macaulay2Doc that uses it, for example), so I'm proposing that we instead keep it around as an alias for selectValues.
We also add select support for sets, using keys instead of values, addressing #578.
We add three new methods (
selectKeys
,selectValues
, andselectPairs
) for hash tables, partially addressing #579. That issue also suggested dropping hash table support fromselect
. But that would be a breaking change (there's some code inMacaulay2Doc
that uses it, for example), so I'm proposing that we instead keep it around as an alias forselectValues
.We also add
select
support for sets, using keys instead of values, addressing #578.For example: