Implement partial
Merge pull request #18 from qerub/partial

Implement partial