added partial function generator
Merge branch 'master' of https://github.com/ijstokes/functions