Add partial generator
Merge pull request #9 from awkward/partials

Add partial generator