sure, I agree. I’ve just been using guava a lot with java and FP otherwise so mutating collections feels pretty alien now, and since kotlin’s immutable collections create full copies on each mutating operation (which would have been very costly in my use case) I wondered about the alternatives.
I just wrote it iteratively eventually and that’s fine, I wouldn’t look for a 3rd party implementation just for my small use case simple smile Just not so used to these constructs anymore.