map method for Set?
designermonkey opened this issue · comments
Please excuse my ignorance if that's what this question is (I didn't studdy computer science)...
Is there any reason there isn't a map
method for a Set
? Vector
has it, being a Sequence
, Map
has it and is a Collection
not Sequence
, so is there a specific reason that Set
does not, being a Collection
like Map
?
What version of ds
are you using? The map
method was added to Set
in v1.2.7.
Ah ok, thanks for letting me know! The documentation on php.net is incorrect then.
The documentation on php.net is incorrect then
Yes that definitely needs to be updated, I'll create a new issue for that and link this one.
Thanks 👍