has anyone seen or implemented something like common lisp's split-sequence, or partition in elisp? i.e. function that takes a predicate, and returns a list of the elements that match and another list of the elements that to do not? cl-lib doesn't seem to have it, and i can't see a way to hack it up using existing functions either. (seq-partition) from seq.el doesn't do the trick, it's a kinda false friend.
Edit: the options being
- seq-group-by
- -partition-by
- hacking cl-reduce