compatibility with GHC 7.4
Merge pull request #5 from cdupont/master

compatibility with GHC 7.4