May deprecated `Seq.filter`?
way-zer opened this issue · 1 comments
way-zer commented
This function is confusing. In many language, the filter
don't modify itself.
And the kotlin has Iterable<T>.filter
that is very confusing with the Seq.filter
, this two has different effect.
For some usecauses, like Vars.contents.blocks.filter()
will make game boom. While Groups.player.filter
is very useful and safe to use.
To deprecated
- mark
Seq.filter
as deprecated.(no binrary breakchange) - use
Seq.removeAll
replace almost usecase.
Anuken commented
Was deprecated.