Fix multiple nonexhaustive patterns
Merge pull request #6 from nwf/master

Fix multiple nonexhaustive patterns