Lift out `partition-kws` function into util module
Add support for keywords in ->*

Also fix the notation which I had totally screwed up earlier