Adds an example of using polymorphic validation functions
Merge pull request #8 from nkpart/master

Adds an example of using polymorphic validation functions