Switch collection functions to curried form
Merge branch 'master' of https://github.com/damsl/K3-Core