Remove duplication of function factory example
Merge pull request #664 from petehamilton/patch-1

Remove duplication of function factory example