enhacements suggestions

Hi dude, this is my pull request to your haskell code.
some suggestions to enhance your code.
Cheers