The PR has a few examples. I've found these specifically useful in Bolt, but we thought they might be general enough to deserve adding to Puppet.
I've found group_by useful to separate targets into categories based on properties of those targets. For partition it's usually to separate by a boolean condition, what otherwise might be two opposite filter operations.