Is there a grep-like function that splits a list into both the part that matches the expression, as grep does, and also its complement?
Of course it would be very simple to write such a function, but I'm interested to know if it already exists and would be more conveniently included from any of the List::Util-like modules.
I found the answer browsing through List::MoreUtils right after posting the question (my apologies). It's part: